Web Hosting, Design, & Coding forum

General discussion

CSS Element

by JaaBlaze / December 12, 2007 1:53 AM PST

Greetings. Heres the problem. I am trying to create a element that is 450w and 300h, and the overflow will scroll. This works fine for Firefox, however IE is not recognizing this at all. here is the css:

#box .content {
height: 300px;
max-width: 450px;
color: #0054a6;
padding-top: 15px;
padding-left: 10px;
overflow: scroll;
display: block;
}

Can anyone help me out? I'm kinda a CSS noob so any help would be appreciated.

Discussion is locked
You are posting a reply to: CSS Element
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: CSS Element
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: css overflow:scroll
by Kees Bakker / December 13, 2007 6:54 AM PST
In reply to: CSS Element
Collapse -
css overflow
by JaaBlaze / December 16, 2007 2:41 AM PST

Thanks for the link, i had already been using that example. It looks like i did everything correctly, but its just not working in IE for some reason. Any additional help I would appreciate.

Collapse -
GOT IT!
by JaaBlaze / December 18, 2007 12:59 AM PST
In reply to: css overflow

i figured it out. instead of setting it as a class, i made it its own div. Once i did this it worked fine. I guess IE has a problem reading the classes of Divs?

Collapse -
(NT) Good job. Thanks for telling us.
by Kees Bakker / December 18, 2007 7:27 AM PST
In reply to: GOT IT!
Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?