.dsy:it. Pages (2): [1] 2 »
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Forum De Bell Tolls (http://www.dsy.it/forum/forumdisplay.php?forumid=7)
-- [CSS] Iframe Simulato (http://www.dsy.it/forum/showthread.php?threadid=10508)


Posted by Napolux on 30-04-2004 08:01:

Question [CSS] Iframe Simulato

Ciao, mi rivolgo a chi mangia pane e css.

Nel mio sfavillante e nuovissimo :D sito (non andateci, e' sfavillante e nuovissimo solo in locale :D) ho impostato un iframe simulato con un css, creando una classe in questo modo:

.layerfigo {
height: 350px;
overflow: auto;
}


Quando il contenuto della <div> supera i 350px di altezza allora compare la barra di scorrimento (proprio come un iframe, ma indicizzabile dai motori di ricerca ecc...)

Ora, quando in questa benedetta div ci stampo il mio bel blog compare sia la barra verticale (va bene) che quella orrizontale (non va bene)
In altre pagine lunghe anche piu' del blog questo non avviene (compare solo la barra verticale, come giusto che sia).

Come mai??? :?

Qualcuno sa come risolvere?

__________________
Napolux.com


Posted by Napolux on 30-04-2004 09:57:

Off-Topic:

[Sto notando che...]
Quanti!
Fin quando si tratta di HTML facile facile tutti ne sanno qualcosa...
Quando il gioco si fa "duro"... :asd:
(Che poi tanto duro non e' dai!!!)
Informatici noi?? :asd:
[/Sto notando che...]

__________________
Napolux.com


Posted by 0m4r on 30-04-2004 10:10:

hai provato con qualcosa del tipo
- overflow-x:no
- overflow-y:auto
???

__________________
http://www.twitter.com/0m4r


Posted by Hamelin on 30-04-2004 10:21:

Non è che devi definire anche il parametro lenght per poter gestire l'overflow anche secondo quella dimensione?

__________________
Bjarne Stroustrup: "I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone."
Andrew S. Tanenbaum: "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."
Edsger Dijkstra: "Computer Science is no more about computers than astronomy is about telescopes."
Robert Firth: "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs."
Donald Knuth: "A mathematical formula should never be 'owned' by anybody! Mathematics belong to God."


Posted by Napolux on 30-04-2004 10:28:

Originally posted by 0m4r
hai provato con qualcosa del tipo
- overflow-x:no
- overflow-y:auto
???


Dreamweaver non lo conosce....

Off-Topic:
Lo sapevo che 0m4r e' uno "duro" :D

__________________
Napolux.com


Posted by Napolux on 30-04-2004 10:29:

Originally posted by Hamelin
Non è che devi definire anche il parametro lenght per poter gestire l'overflow anche secondo quella dimensione?


E' definito...
ma io non voglio che venga gestito, l'esempio e' solo una parte del css.
Deve buttarmi a capo quello oltre i TOT px.

__________________
Napolux.com


Posted by korn on 30-04-2004 12:10:

Prova a dare un'occhiata al CSS di www.squidfingers.com :)

__________________
» Collect some stars to shine for you, and start today ‘cause there are only a few. _ (In Flames)
» Don't stop for nothing, it's full speed or nothing! I'm taking down, you know, whatever is in my way! _ ('tallica)
» I am my own god, I do as I please. _ (Pain)
» Ninetynine, ninetynine knives! Ninetynine knives inside! Nobody gets out alive! _ (The Haunted)
Web: http://www.negativesignal.com - ICQ# 171585477 - Death to software patents! And TCPA too! "e uno!", diceva il boia.


Posted by 0m4r on 30-04-2004 12:50:

Originally posted by Napolux
Dreamweaver non lo conosce....

Off-Topic:
Lo sapevo che 0m4r e' uno "duro" :D


Dreamweaver non e' lo STANDARD!!!!!
comunque controlla sul w3c per sicurezza, magari mi sono sbagliato io...cmq l'idea l'ho resa no?

__________________
http://www.twitter.com/0m4r


Posted by fabpicca on 30-04-2004 13:24:

[consiglio]NON usare dreamweaver[/consiglio]

comunque: se il blog lo prendi da un'altra pagina devi fare si che anche in quella pagina sia formattato correttamente.Quindi, nella pagina del blog inserisci il testo in un div con la dimensione orizzontale che ti serve.

__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour

"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)


Posted by DiMar on 30-04-2004 13:32:

Originally posted by 0m4r
Dreamweaver non e' lo STANDARD!!!!!
comunque controlla sul w3c per sicurezza, magari mi sono sbagliato io...cmq l'idea l'ho resa no?


ehm... nemmeno overflow-x e overflow-y sono standard... :roll:
scusa ma ci deve essere qualcosa nel codice del tuo blog che si sovrappone al css, altrimenti non si spiegherebbe il fatto che con altri testi tutto funziona... :pensa:

__________________
:: Divin Marchese
"Entro giusti confin virtù si tiene,
se oltrepassarli vuoi, vizio diviene!"
(D.A.F. de Sade)


Posted by DeepBlue on 30-04-2004 13:38:

E se definisci width ?

__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~


Posted by DiMar on 30-04-2004 13:38:

Originally posted by fabpicca
[consiglio]NON usare dreamweaver[/consiglio]


Bhè dai, imho è un buon prodotto (comodissimo in alcune cose, tipo disegno tabelle...) e genera codice abbastanza pulito... a patto di usarlo bene.... ;)

__________________
:: Divin Marchese
"Entro giusti confin virtù si tiene,
se oltrepassarli vuoi, vizio diviene!"
(D.A.F. de Sade)


Posted by ^Angelus^ on 30-04-2004 22:21:

Dare un occhiata al codice dei siti dove quel giochetto non lo fa? e se lo hai fatto confronta riga per riga, insomma un po' di debugging :P

__________________
Empty your mind, be formless, shapeless, like water. If you put water into a cup it became a cup, if you put water into a bottle it became a bottle, if you put into a teapot it became a teapot. Water can flow or can crush. Be water my friend.

Nessuna via come via. Nessun limite come limite

- Bruce Lee -


Posted by Hamelin on 02-05-2004 21:16:

Ma poi, scusa...: "auto" non significa che lasci gestire l'overflow al browser secondo il suo comportamento di default? Non è il massimo del controllo...

Comunque, la soluzione di fabpicca credo che vada alla grande! :approved:

__________________
Bjarne Stroustrup: "I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone."
Andrew S. Tanenbaum: "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."
Edsger Dijkstra: "Computer Science is no more about computers than astronomy is about telescopes."
Robert Firth: "One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs."
Donald Knuth: "A mathematical formula should never be 'owned' by anybody! Mathematics belong to God."


Posted by Napolux on 03-05-2004 07:22:

Originally posted by fabpicca
[consiglio]NON usare dreamweaver[/consiglio]

comunque: se il blog lo prendi da un'altra pagina devi fare si che anche in quella pagina sia formattato correttamente.Quindi, nella pagina del blog inserisci il testo in un div con la dimensione orizzontale che ti serve.


Il blog l'ho creato io, e viene crato al volo (query su dbase) nella stessa pagina. cmq ho risolto...
Bastava togliere la width="100%" alla tabella che visualizzava le entry del blog :D

[DREAMWEAVER]
Per me e' solo un editor html molto potenziato... ;)
Non credo che ne esistano come lui, in special modo per il completamento automatico del codice...
[/DREAMWEAVER]

__________________
Napolux.com


All times are GMT. The time now is 03:56. Pages (2): [1] 2 »
Show all 17 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.