Jump to content

Recommended Posts

Posted

Γεια σας. Έχω κάνει ένα site μέσω dreamweaver, έχω βάλει μια εικόνα για φόντο και όπως ξέρετε το προκαθορισμένο είναι πάνω γωνία αριστερά και επανάληψη οριζόντια και κάθετα. Εγώ δεν θέλω να έχει ούτε επανάληψη, ούτε να πηγαίνει η εικόνα στο κέντρο και δεξιά-αριστερά να έχω άσπρο κενό. Έψαξα στο google και δεν βρήκα κάτι. Τώρα έχω σβήσει το style που βάζει το dreanweaver μόνο του μέσα στην head και έχω βάλει αυτό που θέλω και βρήκα στο google αλλά δεν είναι full screen το φόντο. Ο κώδικας είναι αυτός:

 

<style type="text/css">

body {

 

background-image:url("flow.png");

background-repeat:repeat-y;

background-position:top center;

background-attachment:fixed

}

</style>

 

Ξέρει κανείς καμία παράμετρο να βάλω εδώ η κάτι τέλος πάντων ώστε να το φτιάξω;; Ευχαριστώ που το διαβάσατε!

Posted

Θεωρητικά πρέπει να φτιάξεις ένα καινούργιο div με όνομα π.χ "wrapper" και να το κάνεις να είναι στο κέντρο της σελίδας όπως και να αλλάζει το παράθυρο. Μόλις φτιάξεις την div που σου λέω με id = "wrapper" ο κώδικας css θα πρέπει να είναι σε φάση...

 

div #wrapper {

     width: 900px; /* Πρέπει να έχει συγκεκριμένο πλάτος για να κεντραριστεί */
     margin: 0 auto; /* Αυτό θα σου βάλει το wrapper στο κέντρο της οθόνης */
     background: url("flow.png") no-repeat; /* Αν θες βάλε repeat-y, ανάλογα τι θες */
}

 

Με αυτό θα κάνεις δουλειά σου. Αλλάζεις το width σε όσο πλάτος έχει η εικόνα. Απλά σκέψου ότι το site μετά θα πρέπει να το χτίσεις μέσα στο div id="wrapper".

 

Ελπίζω να σε βοήθησα :)

Posted

Κοίτα το διάβασα αυτό που είπες 3-4 φορές και ψιλό κατάλαβα.. Ας δούμε όμως αν υπάρχει κάτι άλλο.. Είδα στο google κάτι με width=100% το δοκίμασα αλλά τίποτα!

Posted

Αγορίνα για κεντράρισμα σελίδας γενικά (όπως έχουν διαμορφωθεί τα τελευταία στάνταρς) αυτός είναι ο τρόπος. Αν πάλι θες να κάνεις μια σελίδα fluid (καθ' όλο το μήκος του browser, όπως είναι και το mxc) τότε κοίτα αυτό το width=100% για αρχή! ;-)

Guest
This topic is now closed to further replies.


  • Posts

    • L2Virus the one who buyed those files from me.
    • Hi ️ Are you a supplier or do you have your own modem and are looking for a place to sell numbers?  SMS.PRO - The best option for selling your numbers  You choose the selling price yourself  Sale option: public (to everyone) or private (you choose who you want to sell to)  Everything works automatically  The simplest possible connection  Visit the website SMS.PRO and start selling your numbers.  Support @alismsorg_bot
    • Good luck to anyone playing on this server . Kamael items are bugged ( stats are insane ) Commands not working properly ( .getreward for example  ... gives u free reward without voting ). When i had those files , i fixed most of the stuff .   Every 2-3 years , he closes the server because players report bugs to him about items , he dont know how to fix then he repeating the process again https://ibb.co/Fkv7y9hJ https://ibb.co/fdYP2bVQ https://ibb.co/sp1f8C61 https://ibb.co/CKZnCgL7 https://ibb.co/Z6GktJgP  
    • Hello and welcome Server started 2026-01-05 Web site: https://l2dragonlands.eu Discrod: https://discord.gg/ngQUY8FB8G Rates >Xp x500 >Sp x500 >Drop x25 >Spoil x25 Enchant rates: Safe/max enchant +500  Blessed and simple scrolls max enchant (+200)  Enchant maneger to make +500.  In server items are progresed in tiers. Weapons: Starter > Vesper > Vorpal > Elegia > Ferrum. Armors: Starter > Moirai > Vesper > Vesper Noble > Vorpal > Elegia > Scarlet. Jewels: Starter > Vesper > Vorpal > Elegia > Ferrum. Cloaks: Pearl White > Pitch Black > Frintezza > Class Cloka > Hero > Scarlet. Acessories: Goblin Circlet 1/2lvl > Half Mask Mage 1/2lvl > Half Mask Fighter 1/2lvl > Flame of valakas > Gem Mask > Ferrum Helmet. Belt: Mithril Belt > Vitality Belt. Badges: For fighter and mage from 1lvl to 6lvl upgraded in order. Bracelets: Mithril > Shiny Fighter/Mage > 1/2lvl custom talismans in bracelest. Agathion: 7 tiers upgrade in order eatch one. Clan item shop/ New weapon Spadona upgradeble from 1lvl till 85lvl. Farm zones in order: >Giran Harbor > WasteLand > Gateway > Valley of Saints > Chromatic > Ruins of Despair > Soul Harbor > Dragon Valley. >LvL up zone >PvP zone Custom instance zone. Custom buff maneger it will grand big boost in stats. Lotery maneger to gamble. Extra features ALT+B: >Events  >Rankings  >Clan  >RB Status  >Updates and other Auto Event system: >Team VS Team event - Auto event  >Capture The Flag - Auto event Olympiad: >Retail olympiad game  >Competition period [2] week  >Olympiad start time [18:00] end [00:00]  >Maximum enchant in the Olympiad is +10, not custom items in olympiada only normal ones from shop.
    • L2 VOID - ADVERTISING BANNER   L2 FURY - ANIMATED BANNER   L2 HEROIC - ANIMATED BANNER   L2 WEED - ANIMATED BANNER   L2 REFORGE - ANIMATED LOGO   L2 WARZONE - ANIMATED LOGO   L2 ACME - SPLASH SCREEN   L2 DRUGS - ANIMATED BANNER   L2 GOLD - ADVERTISING BANNER   L2 AARON - ADVERTISING BANNER  
  • 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..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock