Jump to content
InsanelyMac Forum
jonz14

A little html help

Recommended Posts

Advertisement

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

Try:

<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:

 

<html><head></head>
<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>

</body>
</html>

(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.

  • Posts

    • nvidia is not that fast for osx user...just wait another 24-48h and the new driver package will be released for the 17E202 build...
    • It seems nice that chris1111 provided a patch, but I can't -- in good conscience -- download a random binary file from github and run it on my system.    What is so proprietary about his patch that he can't include source? I think I'll wait until the updated driver comes out before I update...  Does anyone know where to look for updates to the webdriver from Nvidia? I've ever found a page that lists them, just links to the actual files to download, and that root is not 'browsable'. I'd like to monitor that site to see when a version is updated for the 17E202 build. Once that is released, I can update OSX and should be fine.  
    • hey MaLd0n  It's been a while since I used clover, so a lot of things went rusty. Can you please look at my setup and guide/help what should be done next?  https://fex.net/354949878474?fileId=441517695   Current setup:  GA-Z97X-UD3H Xeon e3 1245v3  Msi GTX 1050ti Gaming X
    • Hi @fabiosun and thank's for your patience with an old and stubborn man.   I am 100 % sure that my MSR 0xE2 register is unlocked thank's to you.   My system is 100% stable and I haven't had one kp with this configuration in the last two weeks.    I'm now running without TSCAdjustReseat.kext and I can't se any issues in performance with or without that kext. What I however can se is that the amount of total energy consumed during the test-cycle are 10 times higher without the kext (three times Cinebench CPU and two times Luxmark open CL) as you can see in the output from my AppleIntelInfo.kext attached in my earlier post.   I have tested running Cinebench five times in a row with or without TSC kext and have exactly the same performance (see attached files). Temperature is not a problem at all.   Everything seems to be fine so I guess I have to wait and see if upcoming 10.13.5 maybe recognise Intel Xeon w series processor as native.     
    • Tried with HPET enabled and disabled so I don't think it's that. I'd tried with bus ratio before to no effect but wouldn't hurt to try again. The clock runs at the correct speed.


×