Hi. I'm Angel.
Just recently I've received a project which is about a mobile-optimized web page. The client asked me to create two CSS files one is designed for default browsing using a desktop computer, while the other would is designed for mobile browsing.
I had no problem with the default CSS, but there's some difficulty with the second one. Especially when the banner is concerned. In the default stylesheet, the banner should be on its original size which is 400x200 but if the user browse the page using his/her phone, say, iPhone, the banner should display another banner which has the size of 400x100. I've tried to use the div: display:none function but it seems to have no effect at all. The page still displays the original banner, eventhough both are uploaded into the same folder.
I'm wondering if how could I make this thing possible. I have tried different solutions, but still nothing happens. Do you guys have any idea? Please I need your help to solve this mystery.
Just recently I've received a project which is about a mobile-optimized web page. The client asked me to create two CSS files one is designed for default browsing using a desktop computer, while the other would is designed for mobile browsing.
I had no problem with the default CSS, but there's some difficulty with the second one. Especially when the banner is concerned. In the default stylesheet, the banner should be on its original size which is 400x200 but if the user browse the page using his/her phone, say, iPhone, the banner should display another banner which has the size of 400x100. I've tried to use the div: display:none function but it seems to have no effect at all. The page still displays the original banner, eventhough both are uploaded into the same folder.
I'm wondering if how could I make this thing possible. I have tried different solutions, but still nothing happens. Do you guys have any idea? Please I need your help to solve this mystery.
Comment