joe2730
06-11-2012, 11:27 PM
hey, I can't seem to make full use of the space im assigning
@charset "utf-8";
/* CSS Document */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
small, strike, strong, b, u, i, center, div,
dl, dt, dd, ol, ul, li, form, table, thead, tr, th, td,
footer, header, menu, nav {
margin: 0 auto;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body{
font-size:14px;
font-family:Arial, Helvetica, sans-serif;
background-color:black;
max-width:1000px;
min-width:1000px;
}
#logo{
float:left;
width:700px;
}
#toprightbox{
float:right;
width:300px;
padding-top:10px;
}
I just can't see what i'm forgetting to do/missed out :confused:
If I give the body tag a width of 1000px then the logo and toprightbox should fit? im having to drop 20px off an image for it to fit.
Also I am floating the toprightbox to the right and the images are staying to the left inside, which is fair enough because I haven't told them to go anywhere, but which would be the best way to get the images in the container to the right, using float again inside the box or just padding from the left?
Any ideas? cheers.
@charset "utf-8";
/* CSS Document */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
small, strike, strong, b, u, i, center, div,
dl, dt, dd, ol, ul, li, form, table, thead, tr, th, td,
footer, header, menu, nav {
margin: 0 auto;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
body{
font-size:14px;
font-family:Arial, Helvetica, sans-serif;
background-color:black;
max-width:1000px;
min-width:1000px;
}
#logo{
float:left;
width:700px;
}
#toprightbox{
float:right;
width:300px;
padding-top:10px;
}
I just can't see what i'm forgetting to do/missed out :confused:
If I give the body tag a width of 1000px then the logo and toprightbox should fit? im having to drop 20px off an image for it to fit.
Also I am floating the toprightbox to the right and the images are staying to the left inside, which is fair enough because I haven't told them to go anywhere, but which would be the best way to get the images in the container to the right, using float again inside the box or just padding from the left?
Any ideas? cheers.