oh yeah, forgot:
If you want to change (for example) a visited link in a certain section (i.e in a div with id sidemenu) then your style would look like this:
html:
<div id="sidemenu">
<a href="/index.html">Home</a>
</div>
CSS:
#sidemenu a:visited {
color: #776655;
text-decoration...
Hope this helps:
set you default colours in the body tag:
body {
background-color: #121212;
color: #800000;
}
Then, for any section that you want the colours to be different (i.e. in a sidemenu), put the section in an id'd div tag and apply different style to that:
<div...
hello everybody!
I want to redirect my old site (www.oldsite.com) to my new site (www.newsite.com).
I've set up an .htaccess file, containing the line:
RedirectPermanent / http://www.newsite.com/
which should redirect every page on the old site to the main page of the newsite (thats what I...
Thankyou everyone for your posts - I now have quite a few different ways to try out now. I actually got the .htaccess file method working on another site last night, but so far haven't tested on my "poor" server.
Let me explain my problem as well as I possibly can:
I was asked to redirect a site to its new location on the web. The previous host was a free one that doesn't support .php, SSI or anything other than html and jpegs. I had to set up a redirect to the new, nicer, server. I did this using a...
just add a height to each column:
#ColumnLeft{
float: left;
margin-left: -150px;
position: relative;
width: 150px;
z-index: 1;
height: 200px /* or whatever height you want */
}
that works for me.
Also - You can use z-indexing on relatively positioned elements as...
what about putting in:
#navlist {
border-collapse: collapse;
}
not tried it on your site, but that usually takes away any default borders between elements.
Does IE understand z-indexing? I am trying to use it in a site but IE seems to completely ignore all my efforts. I realised a few weeks ago that it doesn't understand min-width, and now I'm unsure if z-index is supported.
Thanks
Calum
I want to learn php. What software do I need before I can start (e.g. a compiler) I only have access to "nice" webspace at work (by nice I mean webspace that supports php) and would idealy like to learn offline.
Can I get software off the net? If so, where? Also, does anyone know of some...
Something funny is happening on my page, but I think it must have to with another aspect of my design because when I prepared a basic example of my problem everything worked fine.
Sorry about that.
Calum
I have a div in my page which takes up the full length of the screen. Under it I have another, similar div. I want a gap between them, so I set margin-bottom: 50px for the first one.
In Firefox, this has no effect, and places the divs right next to each other. But, if I give the first one a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.