![]() |
|
|||||||
| Notices |
| CSS Forum Cascading Style Sheets (CSS) and XHTML Forum |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
OK, I promise this will be my last question regarding css and divs!!!
Phil Johns Imaging - Website and Graphic Design Why is my 3rd div (the green one) positioned like this instead of being in line with the other??!!! Thanks all
__________________
Plymouth Graphic and Website Design |
|
||||
|
could cave to do with a float issue. try putting clear:both; on it and see what happens.
without seeing code that's all i can suggest.
__________________
http://justross.com/ |
|
||||
|
Im off to school now but this is the css code of that page:
Code:
#page-container {
width: 945px;
height: 545px;
margin: auto;
background: url(images/background.gif);
background-repeat: no-repeat;
font-family: sans-serif;
}
html, body {
margin: 5px;
padding: 0px;
}
#header {
width: 830px;
height: 60px;
margin: auto
}
#main-nav {
width: 830px;
height: 25px;
margin: auto;
padding-top: 3px;
}
#content-container {
width: 830px;
margin: auto;
}
#left-column {
background: red;
float: left;
width: 275px;
height: 380px;
font-size: 80%
}
#center-column {
background: yellow;
margin-left: 275px;
width: 275px;
height: 380px
}
#right-column {
background: green;
margin-left: 555px;
width: 275px;
height: 380px
}
#footer {
width: 830px;
height: 30px;
margin: auto;
font-size: 70%
}
a:link {
color: #666666;
text-decoration: none;
}
a:visited {
color: #333333;
text-decoration: none;
}
__________________
Plymouth Graphic and Website Design |
|
||||
|
Gave that a go and it didnt work...thanks anyway.
I actually had to remove the "margin-left: 275px" of the center column for it to work!
__________________
Plymouth Graphic and Website Design |
![]() |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Design Business Questions | L[Design] | Graphic Design Business Forum | 9 | 27-05-2008 06:06 PM |
| Answers to the Top Design StudentÂ*Questions | Graphic Design Blog | Graphic Design Blog | 0 | 12-03-2008 04:20 PM |
| New member with questions. Ill to PS | cagedvr6 | Graphic Design and Web Design Help | 11 | 13-12-2007 01:27 PM |
| Newbie questions | Cyberslam | Flash Forum | 3 | 19-10-2007 04:27 PM |
| I have a couple of (graphic related) questions. Please help! | deegirl | Graphic Design and Web Design Help | 3 | 13-07-2007 01:23 PM |
| All times are GMT. The time now is 12:21 PM. |