• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 353
  • Last Modified:

div not rendering properly in chrome

The  newsletter section of the page http://www.marhall.com/hotel/newsletter.aspx is not rendering properly in google chrome (div with class="panel w630"). What css  changes I need to do to correct the width and also I want this div bottom should aligned with the Newsletter button in red on the left. so what height should I set for this div.
0
mmalik15
Asked:
mmalik15
  • 2
  • 2
1 Solution
 
GaryCommented:
Change your doctype to
<!DOCTYPE HTML>

Then try adding

height:296px to .panel .border {

You may need to play with height once you have a proper doctype, transitional lets browsers do their own interpretation of styles.
0
 
mmalik15Author Commented:
thanks for the comment.


would changing this doc type will have any other rendering impacts?
0
 
GaryCommented:
It will show anything that is not correctly styled.
You should use a doctype that all browsers will follow the same way.
0
 
mmalik15Author Commented:
thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now