Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change the length of right content div for only one of my pages

Status
Not open for further replies.

vb487

Technical User
May 31, 2011
1
US
Hello,

I was wondering how to change one of my divs but only on one page. It seems that no matter what I do as soon as I edit the div it makes the change to all of my other pages as well. Basically I want the right content div on all of my pages except for 1 to be 850 px. Then I want the other one to be about 950; I know that there is a way to do this using css I just can not figure it out. Any help would be much appreciated.

thanks in advance.
 
why dont you make a second ID for that DIV and use it on that page only.

#div {width: 950px;}

<div id="div">950 px wide</div>

Darryn Cooke
| Marketing and Creative Services
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top