close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

media query problems

Thread began 3/23/2013 4:13 am by CraigR | Last modified 4/03/2013 6:33 am by CraigR | 1287 views | 9 replies

MikeyT

Hi Craig,

Sorry, I'm not being of much help. And I can't seem to upload a screengrab that meets the max file size requirements that the forum imposes. Try as I might, it gets automatically shrunk down. Basically, what I was trying to show you was that at the breakpoint, the body tag was referencing 768px. All seems to be spot on on my end.

I'm definitely not seeing an expansion in page width or nav bar width. All appears to remain at 700px wide when viewed as a 2-column and 1-column layout. I checked out your page in Chrome on both Mac and PC and got the same results. Even IE 9 and 10 are rendering properly.

I do see the nav starting to stack on a tablet in portrait mode. Sorry, I missed that yesterday. Should be an easy fix - just write a selector inside your tablet media query and adjust the margin or padding on your list items. On my iPad I'm seeing a 2-column layout in landscape mode (1024px) and a 1-column layout in portrait mode (768px).

Just curious; have you considered adding anything like respond.js to tackle the media query issue in IE 7 and 8 since they don't support them? Just in case someone happens to be using that browser and resized their window.

I may be completely off, but I'm wondering if you're experiencing some funkiness because of the way your media queries are written. You're referencing 768px in both min and max:

@media screen and (min-width: 768px) {
selector:{};
...
}

@media screen and (max-width: 768px) {
selector:{};
...
}

=> Have you tried anything along the line of the following:

/* --------------------------------------------------------------
Desktop Layout: 769px and up
---------------------------------------------------------------*/

@media only screen and (min-width: 769px) {
selector:{};
...
}

/* --------------------------------------------------------------
Tablet Layout: 481px to 768px
---------------------------------------------------------------*/

@media only screen and (min-width: 481px) {
selector:{};
...
}

Best of luck with everything.

Mike

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...