The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> browser specific height and width
Sunnydog
post Jul 20 2010, 02:29 PM
Post #1


Newbie
*

Group: Members
Posts: 10
Joined: 19-July 10
Member No.: 12,334



How can I make the height and width of a div browser specific?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 20 2010, 04:35 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



With javascript? For which browser(s)?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Sunnydog
post Jul 20 2010, 08:49 PM
Post #3


Newbie
*

Group: Members
Posts: 10
Joined: 19-July 10
Member No.: 12,334



yes, with ie, firefox, and safari.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jul 21 2010, 06:12 AM
Post #4


.
********

Group: WDG Moderators
Posts: 9,656
Joined: 10-August 06
Member No.: 7



What is the reason for giving the DIV different dimensions in different browsers? This can be important when deciding how to deal with it.

In contrast, browser sniffing is something to be avoided: http://www.quirksmode.org/js/support.html
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 02:29 PM