WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • VSpace and HSpace not working correctly
  • Print
Pages: [1]   Go Down

Author Topic: VSpace and HSpace not working correctly  (Read 9960 times)

rikkibr

  • Guest
VSpace and HSpace not working correctly
« on: January 26, 2009, 11:10:43 PM »
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
Logged

Offline marathoner

  • Posts: 495
Re: VSpace and HSpace not working correctly
« Reply #1 on: January 27, 2009, 03:15:36 AM »
Your page DOCTYPE is XHTML strict. However vspace and hspace are not valid attributes in XHTML. Use CSS margin or padding.
Logged

rikkibr

  • Guest
Re: VSpace and HSpace not working correctly
« Reply #2 on: January 27, 2009, 09:37:40 AM »
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?
Logged

erpe0812

  • Guest
Re: VSpace and HSpace not working correctly
« Reply #3 on: January 27, 2009, 11:21:22 AM »
Hi

define a special class  and use this class to format these images.

rgds

erpe
Logged

Offline marathoner

  • Posts: 495
Re: VSpace and HSpace not working correctly
« Reply #4 on: January 27, 2009, 03:57:45 PM »
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.
Logged

rikkibr

  • Guest
Re: VSpace and HSpace not working correctly
« Reply #5 on: January 27, 2009, 11:44:26 PM »
aahhh! Thanks guys!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • VSpace and HSpace not working correctly
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2