when using CSS borders i am defning the border in the top of my page... the border is filling up to the browser though. is there a way to make it like a table where its only as wide as whats inside? (with out using any table!!)
CSS question
Collapse
X
-
-
OK so in the head of my html document i have p.border {border-width:medium; border-color:black; border-style:solid; }
then on the page i have
p class="border"
and then an image im putting in side the border (to start off with)
ok so its working and theres a border around the image but the border doesnt wrap to the image like a table border would.. it extends with white space to the edges of the browserComment
-
why would you solve that with p /p around your image?
Just use:
img src="bla.jpg" class="thickborder"
style
img.thickborder { bla }
styleComment
-
-
I'm sorry but I'm afraid I'm going to bed.. I'm fucking tired. If you still need help tomorrow night, send me an e-mail. If not, perhaps somebody else is willing to help you out.
Seb.
(info -at- digitalevolution -dot- nl)Comment
-


Comment