HighDots Forums  

Inconsistent spacing in CSS

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Inconsistent spacing in CSS in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
TSemmes
 
Posts: n/a

Default Inconsistent spacing in CSS - 11-17-2004 , 04:08 PM






I am trying to create a box grid that has tight spacing, but it looks different
in every browser I view it in. The page I am referring to is at
http://www.gilday.com. The box I am referring to is under the bar: Additions,
Kitchens, etc. In Firefox, the navigation bar and the photos below it are the
same width, but there is some unneccessary same between the photos. In Explorer
and NEtscape the spacing looks fine but , the navigation bar is not as wide as
the photos below. In Netscape I lose the 1 pixel space between each link bar.
Is there a way to create a consistent look from browser to browser. The CSS
code I used to create the navigation bar is: #navbar { font: bold 12px
Arial, Helvetica, non-serif; text-align:center; vertical-align:middle;
text-decoration: none; color: white; letter-spacing: .2em; }
#navbar a{ display: block; padding: 3px; text-decoration:none;
width:115px; color:white; background-color:#047; }


Reply With Quote
  #2  
Old   
James Shook
 
Posts: n/a

Default Re: Inconsistent spacing in CSS - 11-17-2004 , 06:12 PM






I suspect that your efforts to apply CSS to these page elements are
being swamped by the needlessly complex table structure. Redo your page
with stacked and/or nested tables and you will have more control over
page elements.

--
James M. Shook
http://www.jshook.com

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.