Jump to content

Recommended Posts

Posted

hello.

i have making a website and i got a problem in my screen is ok but when i go to other screen with more resolution in left side is blank.i want to make my websites to fill with all screens.

i have search for fix it but i didn't find smth.any idea how to do that?

 

-thanks

Posted

How could we know what's your code? I mean. It should be something with css, but we're unable to help if we don't know the code itself.

 

 

Posted

i have the same problem my code is

body {

width:100%;

margin:auto;

min-width:600px;

max-width:2000px;

background-repeat: no-repeat;

margin-left: 0%;

margin-top: 0%;

margin-right: 100%;

margin-bottom: 0%;

background-attachment: fixed;

background-position: center center;

position: static;

height: auto;

}

its in html but it doesnt work for some reason...

Posted

How could we know what's your code? I mean. It should be something with css, but we're unable to help if we don't know the code itself.

 

 

*{

margin:0;

padding:0;

}

body {

background-image:url(bg.jpg);

background-repeat:no-repeat;

min-width:1158px;

min-height:913px;

background-color:#000000;

color:#CCC;

font-family:"Trebuchet MS", "Arial", "Helvetica", "sans-serif";

font-size:13px;

margin:0;padding:0;

}

Posted

To sum up, if you want something to be centered, the most common solution is to make a div of an id ("wrapper" used commonly) at the top level. That means, the div is in the top level of everything. Then in your css:

 

div#wrapper { width: 960px; margin: 0 auto; }

 

Beware, the wrapper has to have a specific width in order to be centerized. 960 pixels is the most common value for that, since it's the lowest resolution for modern web browsers and computers.

 

Hope I helped...

Posted

To sum up, if you want something to be centered, the most common solution is to make a div of an id ("wrapper" used commonly) at the top level. That means, the div is in the top level of everything. Then in your css:

 

div#wrapper { width: 960px; margin: 0 auto; }

 

Beware, the wrapper has to have a specific width in order to be centerized. 960 pixels is the most common value for that, since it's the lowest resolution for modern web browsers and computers.

 

Hope I helped...

or try

margin : auto auto;

Posted

on my website i got :

margin-left: auto;

margin-right: auto;

 

Yeah but that's different than this:

 

or try

margin : auto auto;

 

There are top and bottom margins too. The above statement stands for:

 

margin-top: auto;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;

 

And what I ment with margin: 0 auto; is only right and left margins set to auto (that makes the centering).

 

Anyway, margin: auto auto is really different than margin: 0 auto and the second is what we want :)

Posted

Yeah but that's different than this:

 

There are top and bottom margins too. The above statement stands for:

 

margin-top: auto;
margin-bottom: auto;
margin-left: auto;
margin-right: auto;

 

And what I ment with margin: 0 auto; is only right and left margins set to auto (that makes the centering).

 

Anyway, margin: auto auto is really different than margin: 0 auto and the second is what we want :)

i know.

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


  • Posts

    • Lineage 2 Interlude Developer – Cliente + Datapack Hola, soy developer especializado en Lineage 2 Interlude con experiencia tanto en cliente como datapack/core. ✔ Desarrollo datapack (Java, scripts, quests, balance PvP/PvE) ✔ Fixes core / geodata / exploits ✔ Sistemas custom (events, Olympiad, instancias, mods PvP) ✔ Cliente: interface mods, system patches, .dat edits, UI personalizada ✔ Optimización y estabilidad de servidor ✔ Trabajo freelance o colaboración fija Si necesitáis soporte dev o mejoras para vuestro servidor Interlude, podéis contactarme por DM. Portfolio y ejemplos disponibles bajo petición.
    • THEY DON’T COME BACK FOR NO REASON. HERE’S WHY Our clients come from different countries and with very different tasks. But the strongest indicator of quality is simple — when a client comes back **for a second time**. This case is exactly that. The client returned with a request for a **German ID**. The requirement was clear: a document **in a male hand**, with a natural live scene and correct geographic context. What we did: ▪ accepted source files and data without unnecessary bureaucracy ▪ selected a **real street**, not a generic background ▪ built a print-ready mockup with correct scene logic ▪ sent it for approval ▪ after confirmation, delivered the **final file for printing** No templates. No “good enough”. Only solutions tailored to a specific task. Result: ▪ mockup approved on the first try ▪ client fully satisfied ▪ stays in touch We work **worldwide** — and that’s exactly why clients return. Contact us › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) *All data is published with the client’s consent.* #redraw #verification #documents #case #ID
    • Lineage 2 Interlude Developer – Cliente + Datapack Hola, soy developer especializado en Lineage 2 Interlude con experiencia tanto en cliente como datapack/core. ✔ Desarrollo datapack (Java, scripts, quests, balance PvP/PvE) ✔ Fixes core / geodata / exploits ✔ Sistemas custom (events, Olympiad, instancias, mods PvP) ✔ Cliente: interface mods, system patches, .dat edits, UI personalizada ✔ Optimización y estabilidad de servidor ✔ Trabajo freelance o colaboración fija Si necesitáis soporte dev o mejoras para vuestro servidor Interlude, podéis contactarme por DM. Portfolio y ejemplos disponibles bajo petición.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..