WebsiteBaker Support (2.8.x) > Templates, Menus & Design
VSpace and HSpace not working correctly
rikkibr:
Can someone tell me why the vspace which is set to 10 currently does not kick in on the following site?
http://194.105.250.242/~stis
Its the ship picture, the text above it is too close to the picture in FF3 and Chrome. It is however working fine in IE7.
Thanks
marathoner:
Your page DOCTYPE is XHTML strict. However vspace and hspace are not valid attributes in XHTML. Use CSS margin or padding.
rikkibr:
Thanks!
Always learning something new :-)
Do I need to set css margin or padding to each picture that I add to a page or is it possible to set it globally?
erpe0812:
Hi
define a special class and use this class to format these images.
rgds
erpe
marathoner:
Or, if you want every image to use the same margin & padding then just style the IMG tag in your style sheet so that you don't need to even assign a class name.
Navigation
[0] Message Index
[#] Next page
Go to full version