drupal CSS question
Dear All, I am trying to figure out where *-webkit-margin * * comes from in the Genesis theme: ul, menu, dir { 1. display: block; 2. list-style-type: disc; 3. -webkit-margin-before: 1em; 4. -webkit-margin-after: 1em; 5. -webkit-margin-start: 0px; 6. -webkit-margin-end: 0px; 7. -webkit-padding-start: 40px; } Did search of everything with no luck. thanks -- *tony maciejowski** * * *
You appear to be inspecting the element in either Chrome or Safari, as those are the default values specified by the browser itself for those elements. You won't find them in any file. Those values basically kick in when no other values have been set. To remove them, you might consider adding a CSS reset of some kind. Cheers! TT On 2011-06-21, at 12:12 AM, tony maciejowski wrote:
Dear All, I am trying to figure out where -webkit-margin * comes from in the Genesis theme:
ul, menu, dir { • display: block; • list-style-type: disc; • -webkit-margin-before: 1em; • -webkit-margin-after: 1em; • -webkit-margin-start: 0px; • -webkit-margin-end: 0px; • -webkit-padding-start: 40px; }
Did search of everything with no luck. thanks
-- tony maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
Thanks. Yes in Developer tools of Chrome. On Tue, Jun 21, 2011 at 5:52 AM, Trevor Twining <trevortwining@gmail.com>wrote:
You appear to be inspecting the element in either Chrome or Safari, as those are the default values specified by the browser itself for those elements. You won't find them in any file. Those values basically kick in when no other values have been set.
To remove them, you might consider adding a CSS reset of some kind.
Cheers!
TT
On 2011-06-21, at 12:12 AM, tony maciejowski wrote:
Dear All, I am trying to figure out where -webkit-margin * comes from in the Genesis theme:
ul, menu, dir { • display: block; • list-style-type: disc; • -webkit-margin-before: 1em; • -webkit-margin-after: 1em; • -webkit-margin-start: 0px; • -webkit-margin-end: 0px; • -webkit-padding-start: 40px; }
Did search of everything with no luck. thanks
-- tony maciejowski
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- *tony maciejowski** | analyst/programmer | websites | tony@tony-mac.com<t_maciejowski@hotmail.com> * *O*ffice: 323.463.5137 | Cell: 323.899.6206 | Germany: 49-30-76764897
These are safari specific css tags.
From qooxdoo.org:
Most browser support custom CSS tags, which are not (yet) part of any standard. These styles are usually prefixed with the browser name. Mozilla uses -moz-, Opera -o- and Safari/WebKit uses -webkit- as prefix. I found more info on the following site: http://qooxdoo.org/documentation/general/webkit_css_styles ________________________________ From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of tony maciejowski Sent: Monday, June 20, 2011 9:13 PM To: support@drupal.org Subject: [support] drupal CSS question Dear All, I am trying to figure out where -webkit-margin * comes from in the Genesis theme: ul, menu, dir { 1. display: block; 2. list-style-type: disc; 3. -webkit-margin-before: 1em; 4. -webkit-margin-after: 1em; 5. -webkit-margin-start: 0px; 6. -webkit-margin-end: 0px; 7. -webkit-padding-start: 40px; } Did search of everything with no luck. thanks -- tony maciejowski
participants (3)
-
Metzler, David -
tony maciejowski -
Trevor Twining