- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
hi, im sure this topic has already been created, but i tried to look for something similar and couldn’t find, so my apologies in advance.
the problem is that on my index page i have some inline blocks on my menu links. and all my css is in a separate file (mainstyles.css)
so on my location.html page i have an image link to google maps, and the link is inheriting the inline block as the one from the menu. leaving me with a block around my image.
i read some posts about overriding styles but am still somewhat confused. i hope i explained it clear enough. thanks.
can you give us a link to your website or make a sample code?
Can you give the URL?
Or create a Pen: http://codepen.io/pen/ with your code.
Over-ridding styles is easy, last style declared will take affect. So if you have:
.box { color:red; }
.box { color: green; } /* this is the style that overrides the top .box */
i’m still having trouble understanding. here is the pen.
You have a lot of HTML syntax issues.
which means what?