dreamweaver noob seeks assistance

Associate
Joined
14 Jan 2010
Posts
134
Location
Humberside uk
hi guys

so i have been working on my site again after reading through a few more tutorials on css html heres a link to work so far.

http://www.premierplantproducers.co.uk/index.html

still playing around with it i have hit a problem the footer in design mode displays my footer with the css styles applied to it so that it looks the way i want it to be.

but when i go into live view or check it in the web browser itself it displays the css for the footer itself but not the 2 divs that contain that terms and conditions link and our address these should be inline next to each other using the float right attribute.

i must be missing somthing simple here but i have been banging my head repeatedly for 3 days now trying to figure it out. i can post my code later today if it helps.

any other comments that would assits me in developing the site further are welcome im already aware that flash was not the best option for the header and will be attempting a jquery version at a later date once i have finished the other pages.

thanks agin guys
ps im using dreamweaver cs4
 
Last edited:
You missed out a finishing '}' at the end of
Code:
.oneColFixCtrHdr #footer {
	background:#DDDDDD;
	background-color: #FF0;
	height: 75px;
	width: 960px;
	padding-top: 0px;
	padding-right: px;
	padding-bottom: 0;
	padding-left: px;
	background-image: url(images/ppp-footer.gif);

}
 
You missed out a finishing '}' at the end of
Code:
.oneColFixCtrHdr #footer {
	background:#DDDDDD;
	background-color: #FF0;
	height: 75px;
	width: 960px;
	padding-top: 0px;
	padding-right: px;
	padding-bottom: 0;
	padding-left: px;
	background-image: url(images/ppp-footer.gif);

}


Arg! And learn shorthand mate. Your 9 lines can be reduced to 4.

Code:
.oneColFixCtrHdr #footer {
	background: url(images/ppp-footer.gif) #FF0;
	height: 75px;
	width: 960px;
	padding: 0;
}

Chances are you don't need to specify 0 for padding either.
 
thanks for such a quick response

im sorry for the long hand im following tutorials still not 100 % sure on what i can get away with will changing to short hand make my pages more efficent in anyway or just more simple to read and find fault?

thanks again
evil
 
will changing to short hand make my pages more efficent in anyway or just more simple to read and find fault?

It's far easier to read and edit and also more efficient in that it reduces the size of your CSS file. If all of your CSS is like the above, you could cut your CSS file size in half.
 
Back
Top Bottom