Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Image placement with CSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="muso" data-source="post: 44275" data-attributes="member: 40"><p>I say the easiest solution is a single table. There's nothing wrong with using tables for tabular layout of data - its when people nest them and use them for the entire page layout that they become problematic.</p><p></p><p>I guess if you really wanted to use css, you could combine each row of two images into one, with the correct 'spacing' between the two and no spacing above/below or on the far edges. Then in your css file, wrap each image in a div which is styled with the padding for top and bottom 5px and the sides 10px. Also you'd need "display: block;" if it was a div.</p></blockquote><p></p>
[QUOTE="muso, post: 44275, member: 40"] I say the easiest solution is a single table. There's nothing wrong with using tables for tabular layout of data - its when people nest them and use them for the entire page layout that they become problematic. I guess if you really wanted to use css, you could combine each row of two images into one, with the correct 'spacing' between the two and no spacing above/below or on the far edges. Then in your css file, wrap each image in a div which is styled with the padding for top and bottom 5px and the sides 10px. Also you'd need "display: block;" if it was a div. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Image placement with CSS
Top