Changing !DOCTYPE messes with dimensions
-
Hi,
I’ve updated header.php from
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
to
<!DOCTYPE html>
This resulted in one peculiar problem for the entire site.
The landing page has a section at the very top, just below the menus. It’s divided by a section on the left, the featured posts – a carousel, and my profile image to the right.
The height of the carousel/featured posts section is reduced, which can be seen by the bottom of it not being in line with my profile image on the right of featured posts.
This is my staging server with the old doctype, which is how it should look:
I just cannot find a way to correct this.
- This topic was modified 1 year, 10 months ago by .
- This topic was modified 1 year, 10 months ago by .
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Changing !DOCTYPE messes with dimensions’ is closed to new replies.