Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 

A little html help

6 posts in this topic

Recommended Posts

its kinda hard to explain but I mean how can I make it fit all screen resolutions


like if I have to side pieces { and } and I have the filler (i mean like the inside part) how can I get the filler to go in as many times as needed to fit the screen


i hope that makes sense



kind of like this site at the top you would think that the top header thing was like a single image but it is actually an image about 5 pixels wide that has been expanded to fit the resolution and the logo

Share this post

Link to post
Share on other sites


<img style="width:100%;height:100%;" src="yourimage.jpg">


or variations. It will be as large and high as the enclosing box. You'll need to float the rest of the content though.


Of course it will look awfull and pixelated when enlarged.


/edit: Here's a little more detailed example:


<body style="margin:0;">

<!-- text example -->
<p style="position:absolute; left:300px; top:550px; font-weight:bold; color:white;">text content</p>

<img style="width:100%; height:100%;" src="yourimage.jpg">

<!-- text example -->
<p style="position:absolute; left:100px; top:150px; font-weight:bold; color:white;">another text content</p>


(I chose white color for text in this example since my test image was dark)


You can play with positioning, absolute, relative, etc.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.