.
Ah yes, ‘frameworks’ – how to flush web development down the toilet AND make it actually HARDER to develop, not easier. Ever heard the old rule “the less code you use the less there is to break?” Frameworks, ESPECIALLY for HTML and CSS are only making your life MORE difficult and resulting in higher hosting costs, longer development times, BIGGER maintennance headaches, etc, etc… Much of it even appears to defeat the point of using CSS in the first place.
I mean this:
<div id="dm_page">
<div class="background-mask">
<div class="page-background">
<div class="main_layout">
<div class="dm_layout">
<div class="clearfix dm_area dm_layout_top" id="dm_area_3"><div class="dm_zones clearfix"><div class="dm_zone"><div class="dm_widgets"><div class="dm_widget main_logo_and_slogan"><div class="dm_widget_inner"><div class="identity fltbox"><h1 class="logo"><span class="link dm_current">
Is a giant sign to throw whatever framework that is in the trash. You’re making life HARDER for yourself, not easier. If that ‘framework’ is telling you to nest every single element five to ten DIV deep, whoever wrote it needs to do the world a favor, back the <snip /> away from the keyboard and take up something a bit less detail oriented like macramé weaving. Here’s a tip, if you have TWELVE DIV before you even get to your first tag with meaning and then another two tags before you even get to the CONTENT of all that wrapping, you’re screwing yourself over before you even get started.
For what you have so far, there is little reason for the code to be more than:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
lang="en"
xml:lang="en"
><head>
<meta
http-equiv="Content-Type"
content="text/html; charset=utf-8"
/>
<meta
http-equiv="Content-Language"
content="en"
/>
<link
type="text/css"
rel="stylesheet"
href="screen.css"
media="screen,projection,tv"
/>
<title>
Home - ???
</title>
</head><body>
<div id="pageWrapper">
<h1>
dzo.bg
<small>
<span>online ??????? ??</span>
?????????? ??????? ???????????
</small>
<b><!-- image replacement --></b>
</h1>
<div class="section">
<p>
???????? ??????????,
</p><p>
?? ?????? ???????? ??????????? ???? ??????? ???????? ??????, ????????? ????? ???????.
</p><p>
????, ????? ?????? ???????? ? ???? ????????? ?? ????? ???-????????? ? ????????? ?? ??? ?????????.
</p><p>
?????? ?????? ?????? ? ????? ?? ???!<br/>
??????? ?????????!
</p>
<form id="startSurvey" method="post" action="http://www.dzo.bg/">
<fieldset>
<span>
<input type="submit" value="????????" />
</span>
</fieldset>
</form>
<!-- .section --></div>
<div class="section">
<p>
??? ?????? ?????? ?? ?? ???????? ?????? e-mail ?? ?? ?? ??????????? ?????? dzo.bg ? ??????.
</p>
<form id="quickNewslletter" method="post" action="/+/quick-newsletter-subsribe">
<fieldset>
<input
type="text"
name="quick_newsletter_form[email]"
id="quick_newsletter_form_email"
value=""
/>
<input type="image" src="images/submitButton.png" alt="???????? ??" />
<input type="hidden" name="quick_newsletter_form[id]" id="quick_newsletter_form_id" />
<input type="hidden" name="quick_newsletter_form[_csrf_token]" value="7071a2874db65adcf31fde84e1f4ee46" id="quick_newsletter_form__csrf_token" />
</fieldset>
</form>
<img
src="images/dzo_intro.gif"
alt="rotating text that should probably be markup and not in a gif"
/>
<!-- .section --></div>
<!-- #pageWrapper --></div>
</body></html>
… and for majority of page stylings it is unlikely you would need to add more than four or five additional tags to that. (excuse the ???, I’m not set up to deal with Cyrillic right now)
Make them as a single image ahead of time instead of two separate images.
Though without seeing what it is you are talking about trying to do I’m pretty much guessing. You might be asking for something I wouldn’t even do on a design or I may be misunderstanding the questions. You’re asking for dots over a gradient so make a single image that has the dots over the gradient… and then tile it.
Though it could also mean you need a extra div with a ride up margin on it so you can do the gradient and then the body tiling. In either case I’d build them as flattened pre-combined images so you don’t have to mess with that bandwidth chewing broken nonsense known as alpha transparency.
Can you make a image of what you are trying to do? (Mein Gott, I’m asking for a picture of a layout before it’s coded – I’m sure some folks around here are thinking hell just froze over)