|
Post by Cat on Feb 24, 2009 8:03:02 GMT -5
well i've decided screw tables i'll become more efficient and convert to CSS. buut, having difficulty getting a border right around my layout. like this: i don't want the layout, i just want to know how to get a border around the "box". like with tables it would be this: <table style="border: 1px solid #000000" border="0".. any help?
|
|
creemcheez
Petz Walker
This account has been disabled.
100%
Graphic Designer + PHP website coder
Posts: 93
|
Post by creemcheez on Feb 24, 2009 13:18:45 GMT -5
<table style="border: 1px solid #000000" border="0"..<-- shudnt u do border="1" if you want a border im not very good with cssbut ....
|
|
|
Post by Cat on Feb 24, 2009 13:51:55 GMT -5
whoops that shouldn't be there to begin with - the "border: 1px" is the part that makes it. my bad!
but again that's just tables so anyone heeeelp please!
|
|
|
Post by Croag on Feb 24, 2009 15:13:30 GMT -5
<table border="0" cellspacing="0" cellpadding="0" style="border: 1px solid #000;">
Is that OK? I know that you didn't want the whole layout done for you, but I coded it to see if it works.
<table border="0" cellspacing="0" cellpadding="0" style="border: 1px solid #000;"> <tr> <td width="400" height="100" border="0" colspan="2" bgcolor="#3D464D"> </td> </tr> <tr> <td width="100" height="300" border="0" bgcolor="#B37373"></td> <td border="0" width="300" border="0" height="300"> </td> </tr> </table>
Basically to show what I did.. but I used a minimal amount of CSS. I guess you could change it around a bit? n_n
edit: Sorry I didn't understand quite properly. I guess if you want an image to have a border you would do <img src="xxx.xxx" style="border:1px solid #000000">? Or am I getting confused.
Sorry if I couldn't help!
|
|