Results 1 to 2 of 2

Thread: How to keep my text in the header

  1. #1
    Join Date
    Dec 2013

    Question How to keep my text in the header

    I have a image and text in the header. When i shrink the page the image stays in the header but the text moves out, i want it all to stay in the header without moving. it was a hassle getting the text to be in the header with the picture there in the first place, is there an easy way of keeping everything in the header?

    sorry if this should be in css

  2. #2
    Join Date
    Mar 2012
    We really need to see your code, but as a general guide, I find "position: absolute;" is a must for writing responsive web pages. It allows you to mix fixed width elements (like a side nav bar) with variable width elements (like body text), which is impossible if you just set widths as percentages.

    Also, have you validated the code?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center