|
|||||||
| CSS Discussion and technical support relating to Cascading Style Sheets. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
alignment problem in 3 col layout
The page http://wsdev.colostate.edu/cwis116/admmock/dsp_fr.cfm
looks aligned in IE 6.0 and the page border looks shifted in Mozilla 1.7.5. There is a gap (white line) between the border and the right column. How can I fix this in Mozilla. If I shift the right col to close the gap still the banner does not look ok. Thanks. CSS :- body { background-color :#003300; margin : 0px; outline : 0px; padding: 0px; color: #000000; font-family : Verdana, Arial, sans-serif; text-align: center; /*for IE */ font-size: xx-small; } .pageBorder{ border : medium ridge #DDC642 ; color : #000000; padding : 0px 0px 0px 0px; width : 760px; margin: 0 auto; /* align for good browsers */ text-align: left;/* counter the body center good browsers*/ background-color : #ffffff; } /* Fix IE. Hide from IE Mac \*/ * html #leftnav ul li { float: left; } * html #leftnav ul li a { height: 1%; } /* End */ #leftcol { width : 175px; float : left; position : relative; margin-left : -175px; margin-right : 1px; } #rightcol { width : 175px; float : right; position : relative; margin-right : -175px; margin-left : 1px; } #maincol { float: left; width : 100%; position : relative; margin : 0 -8px 0 -2px; } .content { padding-left : 8px; padding-right : 8px; } #outer { border: solid white 0px; border-left-width : 175px; border-left-color : #003300; border-left-style : solid; border-right-color : #dddddd; border-right-style : solid; border-right-width : 175px; background-color : #FFFFFF; width : auto; border-bottom : 1px solid #DDC642; } #inner {margin:0; width:100%;} #outer>#inner{} #footer { text-align:center; margin:0 auto; width:100%;} |
|
#2
|
||||
|
||||
|
That "white" line is actually colored #F4EDC6 and is how Firefox renders ridge style borders. IE6 is either not supporting the ridge style or it's just a difference in how browser developers interpreted the standard.
So the answer is either live with it or use graphics for the borders.
__________________
My Blog: FundaMental Disaster Accessible DHTML Tabs | Quick CSS Positioning Explanation | Quick Floated Elements Explanation | 50% + 50% != 100% | Gaps Under Images | ID vs. Class | Gappy Lists in Internet Explorer | Why Tables Are Slower | Benefits of XHTML vs. HTML | Linking to External Style Sheets | About DOCTYPES | Web Design is a Peanut Butter & Jelly Sandwhich | CSS: To Hack Or Not To Hack | Internet Explorer and Transparent PNGs |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|