School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,035 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,272 people online right now. Registration is fast and FREE... Join Now!




Weird CSS Size Change

 

Weird CSS Size Change

tim4christ

1 Nov, 2009 - 11:51 AM
Post #1

D.I.C Head
Group Icon

Joined: 11 Aug, 2009
Posts: 113



Thanked: 2 times
Dream Kudos: 50
My Contributions
I am creating a simple page with five links centered in a div tag. No big deal, huh? Well, for some very odd reason, the first and last link is really small and does not change color when it's hovered over!! This is very strange, as it only does this in ie!! blink.gif Here is the link to the page: http://www.thecross.tv/ministers.html. I would appreciate it if someone could check it out and try to help me. smile.gif The styles are on the html page, so you can just view source to see the code.

User is offlineProfile CardPM
+Quote Post


SixOfEleven

RE: Weird CSS Size Change

1 Nov, 2009 - 12:00 PM
Post #2

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 3,063



Thanked: 169 times
Dream Kudos: 775
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
Your CSS for ministries is there but you don't have the CSS for the links for the class. Could you post those?

Thank you for helping us help you.
User is online!Profile CardPM
+Quote Post

tim4christ

RE: Weird CSS Size Change

1 Nov, 2009 - 12:06 PM
Post #3

D.I.C Head
Group Icon

Joined: 11 Aug, 2009
Posts: 113



Thanked: 2 times
Dream Kudos: 50
My Contributions
Well, that is the style for the links. If you look at the class for that div, you will see that ministers is the class. Thanks for your help! biggrin.gif
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: Weird CSS Size Change

1 Nov, 2009 - 12:12 PM
Post #4

Code Guru
Group Icon

Joined: 18 Oct, 2008
Posts: 3,063



Thanked: 169 times
Dream Kudos: 775
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
This code:

CODE

.ministers {
    font-size: 16pt;
    position: absolute;
    left: 322px;
    top: 225px;
    width: 369px;
    height: 120px;
}


Is only for the div. You will also have to have code for the <a href> tags. Something like this:

CODE

.ministers a {
        font-size: 16pt;
        text-align: center;
}

.ministers a:hover {
        font-size: 16pt;
        color: #eeeeee;
}


That code would be for links inside of the div ministers.
User is online!Profile CardPM
+Quote Post

tim4christ

RE: Weird CSS Size Change

1 Nov, 2009 - 12:14 PM
Post #5

D.I.C Head
Group Icon

Joined: 11 Aug, 2009
Posts: 113



Thanked: 2 times
Dream Kudos: 50
My Contributions
OH!!! Thanks! biggrin.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 08:38AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month