![]() |
| ||
| Help with CSS url links on Multi pages I have a site thewilliamsfamilytree.com. If you go to the site. You see a bunch of text links on the left side. My question is how do i change or control everything in that menu from one CSS file? I would like to use that menu on every page of my site and edit all text and links at from one place. |
| ||
| Re: Help with CSS url links on Multi pages Here's a quick example. Assuming that you have this external style sheet in your directory default.css -- and the rules would be: ul { list-style-type: none; line-height: 140%; margin-left: 1em; width: 100%; }Use the link element to reference it on your pages. Simply insert the code below between the head section of your (x)HTML document's...<link rel="stylesheet" type="text/css" href="default.css" media="all" />hope this will help you for now... |
| ||
| Re: Help with CSS url links on Multi pages im sorry im not understanding |
| ||
| Re: Help with CSS url links on Multi pages 1. Save all the CSS in that menu, into a file, and call it menu.css. 2. Add this code to all of the files which have the menu in it: <link rel="stylesheet" type="text/css" href="menu.css" media="all" /> Now all of the pages with that code in it, use that stylesheet and when you change that stylesheet all of the pages will change |
| All times are GMT -4. The time now is 8:55 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC