×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Biggie Smalls - Left Aligned Image problem

Biggie Smalls - Left Aligned Image problem 14 years 5 months ago #8094

  • John Murray
  • John Murray's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
*awesome* stuff, I can't tell you how much i like the flexibility / typography.

one minor problem: images that are left aligned don't seem to respect the hspace tag. right aligned images appear to be fine.

you can see this in:

imagesbymurray.com

2nd article down....

Biggie Smalls - Left Aligned Image problem 14 years 5 months ago #8096

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I actually have not clue why the right image looks fine, but it shouldn't :)
The hspace element is deprecated in use with xhtml.

I suggest you do the following. Open your stylesheet file - using the backend of joomla or another editor.

add this
.left_image {
float: left;
padding: 0 10px 0 0;
}
 
.right_image {
float: right;
padding: 0 0 0 10px;
}

Now in your editor add the css class left_image or right image to the images and they should appear ok.

Biggie Smalls - Left Aligned Image problem 14 years 5 months ago #8110

  • John Murray
  • John Murray's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Added to layout.css - works great! thank you
  • Page:
  • 1
Time to create page: 0.144 seconds