![]() |
This will give you the perfect layout, without the images. You can learn CSS by dropping in all the images and polishing it off :-) ! Try W3Schools.com.
html4strict Code:
|
Thanks! That's really neat :D
Now I just have to figure out how to get the images.. >.< |
Here's a quick try
3 Attachment(s)
Hi Tanax, here is my ~20min take on this. I actually sliced your graphics so I could use them.
See the attachment from me with the HTML (styles in the html) and two graphics files. These are ofcourse just in the jpeg quality you posted here earlier. But I made it so that each post can expand at will, and the heading will remain in the middle but the lower bars will extend from the center. (change the width of the container to try out) Ah, one more thing, the pictures are transparent png's. Which means that you can change the background and the bar will blend in. This will not work in IE6 though unless you use a png fix for IE6 |
ah, beaten to the punch
Oh, Wildhoney you were quicker than me.
Although probably great solution you've come up with there, it's my personal opinion that we don't need to use so many divs. (Tanax as well) Also, using the id="" so much makes it (according to standards) impossible to have more than one of those blocks in the same document. The id is supposed to be unique in a document. Although it will display correctly, the best practice is to only assign id to a specific item. And this block you can repeat as you like for many posts. Oh, and yet another thing. It's important for SEO to use headings Here is a sample from my proposal. I use the standard tags as much as possible. Even in this case I would probably try to use less code, but I was trying to make it look exactly like Tanax's mockup. Code:
<!-- A single post --> |
1 Attachment(s)
That's awesome :| :O
A big thanks to you! I will study the code carefully :D One thing though that got my attention.. I'm trying to slice my own pictures.. so I get full quality.. but the header turns out to be a real pain in the ass to get working >.< Because the left and the right sides of the header(and the footer), is rounded... so I'm using another image there. For the footer I've just used: HTML Code:
div.footer {See SS |
Oh, I didn't notice they were round.
Judging by the top left corner of the first post in your screenshot, the round image isn't aligning with the header. There are a few possible solutions to that
Also, I noticed that in your (original) version the lines underneath the title and above the comments don't go all the way across like they do in my version. So if you want that back with my code, then...
|
| All times are GMT. The time now is 07:52 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0