- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have placed some images in boxes at a website front page: Website
They show quite differently in IE and Chrome/Firefox.. Any ideas on how to align them with some CSS maybe? They’re setup via text widgets in WordPress by the way..
Thanks,
Anders,
Denmark
Firstly, don’t use <br/>
tags for spacing. That’s what margins & padding are for.
The whole HTML structure of these ‘widget’ items is pretty bad. I would recommend a fundamental re-think.
I’ll try margin and padding instead. I am already working on a fundamental re-design of the site, but until that has been done I would like it to look sort of proper :)
Thanks!
I’ll try margin and padding instead.
I don’t think you can…TBH
You have bare text nodes (text is not wrapped in text tags at all) and a link.
At best, you might be able to position the link absolutely at the bottom of each ‘widget’ div but that may have knock on issues.
See your point.. And you were right. Didn’t quite work. I made it work by editing some text and put it in <p>
tags.. I’ll have to get that new site up and running soon :)
Thanks again!