css help
#1
Posted 15 October 2005 - 09:50 PM
#2
Posted 15 October 2005 - 09:56 PM
First Tutorial Categories:
Use the CSS code:
float: left;
Welcome and main:
float: left;
recent and affiliates:
float: right;
now on the footer put this code:
clear: both;
http://www.pixel2lif...showtopic=13350 - may give you some tips
#3
Posted 15 October 2005 - 09:58 PM
edit: it messed it all up
Edited by venomsnake, 15 October 2005 - 10:11 PM.
#4
Posted 15 October 2005 - 10:11 PM
#5
Posted 15 October 2005 - 10:11 PM
but no, it didnt really work, check the link again
edit: my css page: http://gamingreloaded.com/wire%20wiredesig...ew/cssstyle.css
Edited by venomsnake, 15 October 2005 - 10:19 PM.
#6
Posted 15 October 2005 - 10:19 PM
alright you have 3 sections ok. so left center right.
alright for all on the left put them in a div called "left" , for the center but a div for them called center, and for the right put em in a div for right.
for those 3 divs, put:
for the left div
float: left;
for the center div:
float: left;
for the right div:
float: right;
also if that still messes up try chaning the right to float: left; sometimes that works to, hopefully this will help you
#7
Posted 15 October 2005 - 10:24 PM
#8
Posted 15 October 2005 - 10:27 PM
edit: hell you may be able to take out the whole floats for the center, since there are 2 other ones defined in the code that it may just go into the unused spot
Edited by d7x, 15 October 2005 - 10:28 PM.
#9
Posted 15 October 2005 - 10:39 PM
#10
Posted 15 October 2005 - 10:43 PM
umm lets see
one is with margins...
ex:
margin-top: 5px;
or something like that, also, umm kinda seems like your content box needs to be pushed over to the right a little...
edit: err i really stick at helping ppl out on forums x.x easier for me to work on it myself sry this is taking kinda long
Edited by d7x, 15 October 2005 - 10:47 PM.
#11
Posted 15 October 2005 - 10:52 PM
ive been trying to mess with margins that i have, ill upload the newest pages, and maybe u can try it?
edit: uploaded
Edited by venomsnake, 15 October 2005 - 10:53 PM.
#12
Posted 15 October 2005 - 10:54 PM
gimme a sec and ill figure it out
#13
Posted 15 October 2005 - 10:57 PM
do u have msn? i tried adding u, but i guess ur not on, it would be easier to talk over msn
#14
Posted 16 October 2005 - 03:22 AM
Make three large columns...that are the basic outline of it. Make it:
#left {
float: left;
width: 25%;
}
#mid {
float: left;
width: 50%;
}
#right {
float: left;
width: 50%;
}
The important thing is they're all floated left. This provides the basic outline of the layout.
Then, use this sort of code for your content boxes:
div.box {
width: 90%;
background-color: #whatever;
margin-left: auto;
margin-right: auto;
margin-top: 5px;
}
Now, putting it all together, we have:
<div id="left"> <div class="box"> </div> <div class="box"> </div></div> <div id="mid"> <div class="box"> </div> <div class="box"> </div></div> <div id="right"> <div class="box"> </div> <div class="box"> </div></div>
This will ensure everything is kept inline, its all similar widths (different lengths for different content etc). If you need help making the headers for each box thingy, thats another div entirely, nested within the 'box' div...that can come later.
Hope it works.
#15
Posted 16 October 2005 - 11:22 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
