Css text & background positioning in one statement ?
When I use the code below the text is not centered
vertically, but is more toward the top.
Can I move the text down without using 2 selectors? One for
the box and another for the text ?
thanks
OK - let's try again.
<style type="text/css">
#info {
position:absolute;
top:50px;
left:0px;
width: 1024px;
height: 25px;
text-align:center;
font-family: Arial, Helvetica, sans-serif;
font-style: italic;
font-weight: bold;
color: #FFFFFF;
background:#990000;
</style>
If you are not using a background image so that the
'background' shorthand
style contains information about the image and its position,
you would be
better off using 'background-color'. Using 'background', as
you have, will
reset all the other values implicit in that 'background'
style to their
default values, which may unexpectedly change the expression
of other rules.
To make the text appear vertically centered in the container,
modify the
rule -
<style type="text/css">
#info {
position:absolute;
top:50px;
left:0px;
width: 1024px;
height: 25px;
line-height:25px;
text-align:center;
font-family: Arial, Helvetica, sans-serif;
font-style: italic;
font-weight: bold;
color: #FFFFFF;
background:#990000;
</style>
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"jerr3d" <[email protected]> wrote in
message
news:gf2hsc$o25$[email protected]..
> thanks, but unless I missed something that did not
really answer my
> question
Similar Messages
-
Can one textfield have multiple text backgrounds?
Hello guys,
I have been trying to find a way to color the backgrounds of different words in a single textfield with different colors.
For an example, lets imagine the whole text is a story which has nouns and verbs...etc
Now I want to show the full text which is my story and highlight the background of nouns in blue, verbs in red.
Please see the attachment.
Then I have dedicated toggle buttons for each types. The use of those buttons is removing or showing those backgrounds. For an example and when user clicks on noun button it will remove or show the background of all the nouns. Same for the button for verbs.
Then you may ask why I can't achieve this by using separate textfield for each word in the story and line them like a paragraph.
The problem is user should be able to edit those text. So those are INPUT typed textfields. So all the words should move within the boundaries of paragraph when user keep changing one word. Please see the second attachment and you may see that I have changed the first word by typing "abcde", so as I type all other words should move like you type inside a textfield. So thats why I think if we can achieve it using single textfield rearranging words as user types is taken care of the textfiled so we don't need to place all the words manually.
When I was trying to think of a way to do it, I found that background is only a property of TextField, but not TextFormat.
If it was a property of textformat then I could have set different formats for different words in same textfield.
So that option is out.
Also I thought of using CSS with htmlText. But unfortunately text-background is not supported by actionscript stylesheet class.
I really appreciate if you can post your expert ideas to help me how to achieve this task.
Thanks
NishaIs there an expert to answer this question please?
Any big guns... -
Css background-position problem
Hello, I get a problem with this style:
<style type="text/css" media="screen">
html {
margin: 0px;
padding: 0px;
height: 100%;
width: 100%;
body {
background-color:#ffffff;
background-image:url(images/myimage.jpg);
background-position: center bottom;
background-repeat:repeat-x;
</style>
In ie7 works fine, in firefox 2 the bottom position doesn't
work...
Any suggestion ?
Thanks
howdyHello, this is the page, simply copy and paste.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>test background</title>
<style type="text/css" media="screen">
html {
margin: 0px;
padding: 0px;
height: 100%;
width: 100%;
body {
background-color:#ffffff;
background-image:url(
http://img179.imageshack.us/img179/2401/backgroundkc8.jpg);
background-position: center bottom;
background-repeat:repeat-x;
#layer1{
text-align: center;
width: 300px;
margin-right: auto;
margin-left: auto;
border: 2px double #003333;
</style>
</head>
<body>
<div id="layer1">Lorem ipsum dolor sit amet,
consectetuer adipiscing
elit. Quisque cursus, justo a tincidunt volutpat, dui orci
feugiat
justo, at varius odio est quis turpis. Integer nisl enim,
condimentum
et, eleifend et, posuere quis, risus. Nam convallis. Integer
diam dui,
accumsan mattis, dignissim at, dictum rutrum, justo. Praesent
lacinia.
Cras a diam. Aenean quis elit. Duis mauris erat, aliquet nec,
malesuada
laoreet, aliquam sit amet, magna. Ut turpis metus,
sollicitudin ac,
fermentum non, pretium eu, augue. Nunc faucibus, leo eu
pharetra
ultrices, sem augue ultricies risus, at egestas velit lectus
ac velit.
Suspendisse pretium nibh dapibus turpis. Praesent felis mi,
vestibulum
eu, pellentesque et, consequat eu, ante. Nulla accumsan enim
et pede.
Suspendisse potenti.
Donec eget nulla. Proin et est. Integer volutpat, dolor
scelerisque
bibendum egestas, lacus dui venenatis odio, vitae varius
massa eros sit
amet ligula. Curabitur tellus. Curabitur ultricies volutpat
tellus. In
sodales. Duis cursus mi eu dui placerat porta. Mauris laoreet
turpis at
nunc. Vivamus volutpat, metus dignissim accumsan hendrerit,
turpis
turpis aliquet nulla, non viverra dui dui quis quam. Mauris
sem nunc,
laoreet in, elementum vitae, tempor a, libero. Cras ac turpis
sit amet
risus cursus ultrices. Sed id quam.
Nulla tortor ligula, adipiscing nec, ornare eu, gravida in,
justo. Sed
elementum vestibulum lectus. Mauris lectus mauris, convallis
nec,
posuere quis, lacinia at, felis. Vestibulum ante ipsum primis
in
faucibus orci luctus et ultrices posuere cubilia Curae;
Aenean cursus
quam eget dui. Maecenas sapien. Aenean pellentesque lobortis
mi. Quisque
tempor ipsum in libero. Pellentesque habitant morbi tristique
senectus
et netus et malesuada fames ac turpis egestas. Class aptent
taciti
sociosqu ad litora torquent per conubia nostra, per inceptos
himenaeos.
Quisque lacus tellus, ornare quis, euismod et, lacinia sed,
justo. Proin
auctor nisi sed tortor. Fusce in justo et nisl fermentum
vehicula.
Quisque urna felis, lacinia at, viverra in, fermentum ut,
lacus. Duis
tempus. Morbi bibendum libero vitae diam faucibus placerat.
Praesent eu sapien. Sed ut velit quis magna lobortis
malesuada.
Phasellus dignissim risus ac est. Pellentesque semper sem.
Donec porta
nulla nec quam. Pellentesque aliquet risus id quam. Proin
tincidunt erat
nec nunc. Praesent euismod fringilla ipsum. Donec ornare.
Vestibulum
ante ipsum primis in faucibus orci luctus et ultrices posuere
cubilia
Curae; Sed leo.
Proin non nisi non neque porta tempus. Proin varius velit eu
sapien.
Pellentesque pulvinar arcu id ante. Nunc eu diam. Phasellus
euismod,
felis in scelerisque pharetra, diam augue eleifend mi, a
rutrum mauris
arcu nec orci. Proin sed erat. Pellentesque et libero.
Aliquam ante
velit, ultrices ut, fermentum ac, cursus ut, est. Etiam vitae
nisl ac
metus cursus viverra. Proin non felis. Donec massa. Nullam
quam lectus,
pulvinar eget, condimentum at, tristique in, quam. Proin
vehicula
elementum diam. Proin sapien. Praesent suscipit, lorem at
dapibus
fringilla, orci elit facilisis lacus, at dictum augue velit
quis enim.
Mauris eu mauris. Aliquam rhoncus fermentum pede. Vestibulum
gravida
vulputate mauris.
Pellentesque consectetuer. Cras tellus justo, iaculis vitae,
semper at,
scelerisque porta, tortor. Pellentesque at mi sed tellus
pellentesque
ultricies. In quis pede. Integer vel tortor at dui elementum
suscipit.
Praesent interdum posuere odio. Integer mollis mattis ipsum.
Duis id
metus ut nulla molestie sagittis. Suspendisse faucibus urna
vel metus.
Sed bibendum, dolor sit amet rhoncus rutrum, lorem turpis
pharetra
tortor, quis viverra neque lorem eget massa. Lorem ipsum
dolor sit amet,
consectetuer adipiscing elit. Suspendisse vestibulum arcu
vitae odio.
Fusce enim lacus, porttitor nec, scelerisque non, viverra eu,
enim. Sed
mauris. In hac habitasse platea dictumst. Duis porta mauris
quis orci.
Donec suscipit turpis eu dui egestas suscipit. Suspendisse
potenti. Cum
sociis natoque penatibus et magnis dis parturient montes,
nascetur
ridiculus mus. In hac habitasse platea dictumst.
Cras in arcu a mi iaculis ultricies. Pellentesque sed lorem
at sem
euismod blandit. Nullam pede lacus, interdum eu, aliquam a,
pretium vel,
sem. Pellentesque fringilla leo feugiat nibh. Cras non enim.
Donec
luctus ante vel diam. Mauris volutpat sapien eget nunc. Donec
nec lectus
nec leo iaculis fringilla. Sed felis magna, cursus et,
hendrerit sit
amet, pretium at, sapien. Vivamus ornare neque facilisis
arcu. Vivamus
nisi leo, varius ac, sodales ut, dapibus eget, eros.
</div>
</body>
</html> -
CSS Problem - Background repeat & Max/Min Width
I have the problem at lower resolutions that the content div sticks out of the main document.
Or in fact, the content isnt sticking out, its the background repeat that is in the right of the screen thats pushed into the doc.
And also the background repeat isnt always repeating till bottom. It doesnt matter how big a negative margin is.
How can i let the background repeat right stick to the end of the document instead of the width of screen?
How can i let the repeat continue so it goeas all the way down?
Here's the CSS:
@charset "utf-8";
/* CSS Document */
/* Main Floats */
html,body {
height:auto;
min-width:800px;
width:auto;
background: #FFFFFF url(../Art/Background.png) no-repeat center;
background-attachment:fixed;
color:#000;
margin:auto;
#BackGrRepeat1{
float:right;
height:auto;
width:auto;
min-width:800px;
background: transparent url(../Art/greenfade_right.png) repeat-y right top;
background-attachment:fixed;
margin-right:-0px;
margin-top:-10px;
margin-bottom:-150px;
#BackGrRepeat2{
float:left;
height:auto;
width:auto;
min-width:800px;
background: transparent url(../Art/greenfade_left.png) repeat-y left top;
background-attachment:fixed;
margin-left:-0px;
margin-top:-10px;
margin-bottom:-150px;
#WContainer{
margin: 10px auto;
width:80%;
background:none;
min-height:50%;
line-height: 130%;
#WHeader{
padding: .5em;
.TabbedPanelsContentGroup{
min-width:600px;
.VTabbedPanels .TabbedPanelsTabGroup {
float: left;
width: 172px;
background: none;
margin: 0;
margin-left:-3em;;
.VTabbedPanels .TabbedPanelsContentGroup {
margin-left: 172px;
min-height:18em;
padding: 2em;
border-left: solid 1px #999;
border-bottom: solid 2px #999;
border-top: solid 1px #999;
border-right: solid 2px #999;
#WFooter{
clear: both;
margin: 0;
padding: .5em;
/* Text Styles */
h1{
font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color:#05692E;
font-weight: bold;
font-style:italic;
font-size: 3em;
line-height:105%;
h2{
font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif; color:#078330;
font-weight: bold;
font-size: 2em;
line-height:105%;
p{
font-family: "Verdana", verdana, arial, helvetica, sans-serif;
font-size: 1em;
margin-top: 0;
.small{
font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
font-size: .7em;
text-align:center;
/* Menu Buttons */
.TabbedPanelsTabGroup ul{
list-style-type: none;
padding: 0px;
margin: 0px;
.TabbedPanelsTabGroup li{
list-style-type: none;
padding: 0px;
margin: 0px;
.Button a{display:block;}
.Button a:hover{background-position:left bottom;}
a.Button {display:none}
/* Text Images */
.floatright
float: right;
width: 100%;
margin: 5px auto;
background-color: #fff;
padding: 5px;
border-top: 1px solid #999;
border-right: 2px solid #555;
border-bottom: 2px solid #555;
border-left: 1px solid #999;
div.floatright img
border-top: 2px solid #555;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
border-left: 2px solid #555;
.floatleft
float: left;
width: 100%;
margin: 5px auto;
background-color: #fff;
padding: 5px;
border-top: 1px solid #999;
border-right: 2px solid #555;
border-bottom: 2px solid #555;
border-left: 1px solid #999;
div.floatleft img
border-top: 2px solid #555;
border-right: 1px solid #999;
border-bottom: 1px solid #999;
border-left: 2px solid #555;
/* Message Screens */
#message{
margin: 50px;
min-height:18em;
padding: 2em;
border-left: solid 1px #999;
border-bottom: solid 2px #999;
border-top: solid 1px #999;
border-right: solid 2px #999;I think you're going about this the wrong way. When you float content, it is removed from the normal flow. That's why your floated right background doesn't reach page bottom.
Look at this DEMO of a centered liquid layout page.View source in browser.
http://alt-web.com/TEMPLATES/CSS2-Liquid-Page.shtml
Using my demo as an example, you could place a repeating, solid light-green image in the body to give the page its borders. Add another repeating background to the #wrapper division.
Add a 3rd background image or light color to the #content division.
Use floats for sidebar content only.
Hope this helps.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
CSS image background issues - please help!!!
I have a stubborn file that doesn't seem to want to display image backgrounds called out by CSS. In my DW file I can see the background images in Design View, but when I go to Live View or preview in a browser they're not showing. No broken link or unrecognized file type icons - just not there. It doesn't matter if I'm working on the file locally or on my test server; the result is the same.
Example 1:
CSS callout looks like this:
#logo h1 {
float: left;
width: 189px;
height: 71px;
background: url(/images/menu_logoblock.png) no-repeat top left;
HTML callout looks like this:
<div id="logo">
<h1></h1>
</div>
Example 2 (toggle image on rollover):
CSS callout looks like this:
a#prod1 {
width: 193px;
height: 140px;
text-indent: -9999px;
background: transparent url(/images/image_name.jpg) no-repeat 0 0;
margin-left: 0;
display: block;
position: absolute;
left: 0px;
top: 0px;
a#prod1:hover {
background-position: 0 bottom;
HTML callout looks like this:
<div id="products">
<ul>
<li><a href="#" id="prod1" title="Title" alt="Totle goes here"><strong>Title goes here </strong></a></li>
</ul>
</div>
I have successfully used both methods on other pages without problem, but for whatever reason can't get it to work today. I have a reset css file link to reset the browser defaults this time around and that's the only difference.Did you save your images for the web in RGB mode? Most browsers don't support CMYK.
Is your code valid? Modern browsers are becoming less foregiving of code errors.
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Content background positie not good
'm Working on a website to make
http://www.aurelie-en-sven.be/cover.html
IE7 is in the perfect, but Firefox and Safari have much else
to see.
The content background position is too high or too low.
What do I use the best setting to get this correct?
Thank you for your remarks
FrederikThen when you have done that, change this -
<div id="container">
<div id="header"
style="height:30px;margin-top:125px;">
to this -
<div id="container" style="padding-top:125px;">
<div id="header" style="height:30px;">
and see what happens.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Frederik10en" <[email protected]> wrote in
message
news:[email protected]...
> 'm Working on a website to make
>
http://www.aurelie-en-sven.be/cover.html
>
> IE7 is in the perfect, but Firefox and Safari have much
else to see.
> The content background position is too high or too low.
>
> What do I use the best setting to get this correct?
>
> Thank you for your remarks
>
>
> Frederik
>
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
> <title>Naamloos document</title>
> <link href="../CSS/kleine-achtergrond945-795.css"
rel="stylesheet"
> type="text/css" />
> <script src="../SpryAssets/SpryMenuBar.js"
> type="text/javascript"></script>
> <link href="../SpryAssets/SpryMenuBarHorizontal.css"
rel="stylesheet"
> type="text/css" />
> </head>
> <body class="oneColFixCtrHdr">
> <div id="container"
style="margin-top:0px;background-position:margin-top:
> auto;">
> <div id="header"
style="height:30px;margin-top:125px;">
> <ul id="MenuBar1" class="MenuBarHorizontal">
> <li><a href="../index.html"
title="Home">Home</a> </li>
> <li><a href="#"
title="Cover">Cover</a></li>
> <li><a href="#"
title="Foto's">Foto's</a></li>
> <li><a href="#"
title="Slideshow">Slideshow</a></li>
> <li><a href="#"
title="Gastenboek">Gastenboek</a></li>
> <li><a href="#"
title="Contact">Contact</a> </li>
> <li><a href="#"
title="Bedankt">Bedankt</a></li>
> </ul>
> </div>
> <div id="mainContent">
> <h1>Hoofdinhoud </h1>
> <p>Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Praesent
> aliquam, justo convallis luctus rutrum, erat nulla
fermentum diam, at
> nonummy
> quam ante ac quam. Maecenas urna purus, fermentum id,
molestie in,
> commodo
> porttitor, felis. Nam blandit quam ut lacus. Quisque
ornare risus quis
> ligula.
> Phasellus tristique purus a augue condimentum
adipiscing. Aenean
> sagittis.
> Etiam leo pede, rhoncus venenatis, tristique in,
vulputate at, odio.
> Donec et
> ipsum et sapien vehicula nonummy. Suspendisse potenti.
Fusce varius urna
> id
> quam. Sed neque mi, varius eget, tincidunt nec, suscipit
id, libero. In
> eget
> purus. Vestibulum ut nisl. Donec eu mi sed turpis
feugiat feugiat.
> Integer
> turpis arcu, pellentesque eget, cursus et, fermentum ut,
sapien. Fusce
> metus
> mi, eleifend sollicitudin, molestie id, varius et, nibh.
Donec nec
> libero.</p>
> <h2>Kop niveau H2 </h2>
> <p>Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Praesent
> aliquam, justo convallis luctus rutrum, erat nulla
fermentum diam, at
> nonummy
> quam ante ac quam. Maecenas urna purus, fermentum id,
molestie in,
> commodo
> porttitor, felis. Nam blandit quam ut lacus. Quisque
ornare risus quis
> ligula.
> Phasellus tristique purus a augue condimentum
adipiscing. Aenean
> sagittis.
> Etiam leo pede, rhoncus venenatis, tristique in,
vulputate at, odio.</p>
> <!-- end #mainContent --></div>
> <div id="footer">
> <p>Aurelie en Sven bedanken u voor uw bezoek op
deze Online
> Trouwablbum</p>
> </div>
> </div>
> <script type="text/javascript">
> <!--
> var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1",
> {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif",
> imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
> //-->
> </script>
> </body>
> </html>
>
>
>
>
> ----------------------------------------------------
>
> @charset "utf-8";
> body {
> margin: 0; /* het is een goede gewoonte om de
instellingen voor margin
> (marge) en padding (opvulling) van het element body op
nul in te stellen
> en
> daarmee op de standaardinstellingen van de verschillende
browsers */
> padding: 0;
> text-align: center; /* hiermee centreert u de container
(het hoofdobject)
> in
> IE 5*-browsers Vervolgens wordt de tekst ingesteld op de
> standaardinstelling
> van links uitlijnen in de kiezer #container */
> color: #000000;
> background-image:
>
url(../ACHTERGRONDEN/kleineachtergrond2-hartjes-alleen.jpg);
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 10px;
> background-repeat: no-repeat;
> background-position: center top;
> }
> .oneColFixCtrHdr #container {
> width: 945px; /* de automatische marges (d.m.v. auto),
in combinatie met
> een
> breedte, centreren de pagina */
> border: 0px none #000000;
> text-align: left; /* hiermee wordt de instelling
text-align: center voor
> het
> element body genegeerd. */
> background-image:
url(../ACHTERGRONDEN/kleineachtergrondcontent3.gif);
> margin-top: auto;
> margin-right: auto;
> margin-bottom: 0;
> margin-left: auto;
> background-repeat: no-repeat;
> background-position: center top;
> height: 795px;
> top: 0px;
> }
> .oneColFixCtrHdr #header {
> height: 10px;
> padding-right: 0px;
> padding-bottom: 0;
> padding-left: 0px;
> margin-top: 0px;
> margin-left: 300px;
> margin-right: 40px;
> }
> .oneColFixCtrHdr #header h1 {
> margin: 0; /* door de marge van het laatste element in
het element div
> voor
> #header op 0 in te stellen voorkomt u het wegvallen van
marges ? een
> onverklaarbare ruimte tussen div-elementen. Als om het
element div een
> rand
> loopt, is dit niet nodig aangezien dit tevens het
wegvallen van de marge
> voorkomt */
> padding: 10px 0; /* door het gebruik van padding
(opvulling) in plaats
> van
> een marge (via het element margin) kunt u het element
van de randen van
> het
> element div vandaan houden */
> }
> .oneColFixCtrHdr #mainContent {
> width: 670px;
> padding-top: 0;
> padding-right: 0px;
> padding-bottom: 0;
> padding-left: 0px;
> height: 480px;
> margin-top: 5px;
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 12px;
> color: #000000;
> margin-left: 235px;
> text-align: center;
> }
> .FOTOLINKS {
> float: left;
> margin-right: 20px;
> }
>
> .oneColFixCtrHdr #footer {
> margin-top: 100px;
> margin-bottom: 0px;
> margin-left: 265px;
> padding-top: 0;
> padding-right: 10px;
> padding-bottom: 0;
> padding-left: 10px;
> width: 600px;
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 12px;
> font-style: italic;
> font-weight: bold;
> color: #6699FF;
> }
> .oneColFixCtrHdr #footer p {
> margin: 0; /* door de marges van het eerste element in
de footer
> (voettekst)
> in te stellen op 0 vermijdt u het risico dat de marge
wegvalt ? een ruimte
> tussen div-elementen */
> padding: 10px 0; /* door het gebruik van padding
(opvulling) voor dit
> element
> maakt u ruimte (op dezelfde manier als door middel van
een marge), zonder
> het
> probleem van wegvallende marges */
> -
most css text formatting options can be found under the font or text family of properties
(ie font-size, font-family, text-align, text-shaddow ect)
but there are a few which do not fall under the text or font properties
letter-spaceing, line-height and colour are some examples
why are these not covered under font/text
it would be usefull if i knew that environments such as dreamweaver would hint at all avaliable options when i typed in text or font
and are there any other stand alone ones which i didnt mention.Because that's the way the CSS 2.1 standard was written. They are not listed under font/text because they are not listed that way under the CSS 2.1 spec. Reading through the spec will let you see how the authors of the spec organized things: http://www.w3.org/TR/CSS21/.
Dreamweaver does hint at them when you start typing in code-view (via autocomplete). But you have to know at least the first letters of the CSS code you're trying to write.
The issue you're experiencing lies more with the organization of the CSS 2.1 specification then with Dreamweaver. Could Dreamweaver maybe make it easier to discover the other CSS attributes (like line height) that impact font/text? Probably. But it may just be easier to learn the language. -
How do I display AS3 Object in only one state?
I created a AS3 object from a SWFLoader class as an animation, which I then place in a Flex stage. I need to display the object programmatically in only one state but there is no "includeIn()" method to include it in just one state.
Right now, it is showing up on all of the flex states. I add this object at different times and positions in the state. Everything is fine except it displays in all the states.
How do I display a AS3 object in only one state?
Thank you.When i use visible property as you suggested, it works, but only on one object. I am generating more than one of these objects, so there could be 3 or 4, etc of these objects displaying concurrently at different x y positions in the state.
Is there a way to grab all of the objects created by this AS3 class at once and apply the visible property?
thanx -
How do I get text to flow from one page to the next in Pages 5?
How do I get text to flow from one page to the next in Pages 5 with the Maverick system?
What may be overlooked in Pages v5 is the notion of combining Text Boxes via the Menu > View > Show Arrange Tools. When you select two Text Boxes, an extra panel unfolds at the bottom of the Arrange Tools window. Uncheck one Text Box and this panel abruptly disappears.
One can achieve text flow effects between Text Boxes differently based on how one positions the Text Box overlap, and choice of effect above. Though not the accustomed flow found in Pages ’09 v4.3, flow does occur. Consider the possibilities of combining a Shape and a Text box to cut an irregular Text box.
If I create two Text Boxes and position them side by side with outline touching and choose Unite, this creates one larger Text Box and text flows across and down. On the otherhand, if I overlap the upper left corner of a lower Text Box over one above and to the left, then choose Union, pasted text fills the first Text Box and then flows across and down into the other box. Here is a Union example:
Intersect will leave a small Text Box where the two overlap, so not much value there. Subtract will cut a chunk out of one Text Box that is the size of the overlapping piece of the second Text Box:
And Intersect will leave an island in the center where the two Text Box overlap, with flow jumping over this bridge.
Clearly, this is not what we were accustomed to in the past, but with imagination, style, and layout tuning, it does offer alternative Text Box creativity and layout. Of course, there is the option of simply returning to the previous Pages version for true Text Box linking that most will want to use. -
CSS shorthand background problem
Like many of you I'm sure, I prefer to write shorthand CSS.
In
Preferences I have shorthand checked for all five options and
"When
editing CSS rules" set to "According to settings above."
However when I try to write a shorthand background rule it
doesn't work.
I prefer to write my background as:
background: #fff url(../images/quoteleft.jpg) left top
no-repeat;
I should be able to type:
background: c
...and have DW's color swatch functionality kick in, then
url, then
browse, etc. But the only options it gives me are:
background-color
background-attachment
background-image
background-position
background-repeat
inherit
Does anyone know how to get DW's CSS shorthand working
properly?Have you tried right clicking at that point?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"ryansebiz" <[email protected]> wrote in
message
news:errb96$od$[email protected]..
> Like many of you I'm sure, I prefer to write shorthand
CSS. In Preferences
> I have shorthand checked for all five options and "When
editing CSS rules"
> set to "According to settings above."
>
> However when I try to write a shorthand background rule
it doesn't work. I
> prefer to write my background as:
>
> background: #fff url(../images/quoteleft.jpg) left top
no-repeat;
>
> I should be able to type:
>
> background: c
>
> ...and have DW's color swatch functionality kick in,
then url, then
> browse, etc. But the only options it gives me are:
>
> background-color
> background-attachment
> background-image
> background-position
> background-repeat
> inherit
>
> Does anyone know how to get DW's CSS shorthand working
properly? -
Numeric text background color on a numeric element of a cluster.
How does one change the numeric text background color (NumText.BGColor property) on a numeric element of a cluster?
I see the property when a numeric is standalone, but don't see it when it is inside a cluster.
Solved!
Go to Solution.No, all array elements share the same properties. Only values can be different.
One solution would be to add a flat colorbox as additional cluster element and place in in the background. Now change the color as desired.
LabVIEW Champion . Do more with less code and in less time . -
-fx-background-position with negative values bug ?
Hi,
I've reported an issue that seems to be a bug with negative -fx-backgound-position values in CSS : the background image is painted out of bound of the target node.
Here is the CSS code:
/* useradd icon style: with negative offset */
.icon-useradd {
-fx-background-position: -90px 0px;
} I've created a new JIRA issue with attached screenshot :
http://javafx-jira.kenai.com/browse/RT-25522This probably is expected behaviour.
The properties for background fills (color, insets, radius) donot work together with the properties for background images (image, position, repeat, size). They are separate and painted in separate passes in order, quote from the CSS doc below:
>
Each Region consists of several layers, painted from bottom to top, in this order:
background fills
background images
contents
border strokes
border images -
How can I list the head texts or texts of position of the invoices created
hello experts
I have a consultation.
how can I list the head texts or texts of position of the invoices created in module sap SD?
Up to now I can see them visualizing the document SD for transaction VF03, but I need to see a listing of invoices and don't unite in one.
he/she would thank their collaboration.
greetings,
Jorge SilvaDear Jorge,
You can use T-Code VF05 or VF05N to generate list of Invoices with range of selection criterias...
The concerned tables for the same are VBRK & VBRP.
Let us know should you require any further help..
Hope this helps...
Give points if useful..
Thanks,
Jignesh Mehta -
Best way to apply simple CSS text styles?
Merry Christmas all!
I'm about to apply pre-defined CSS text styles to about 200
individual pages.
Most of the text will be 'Body'.
As all of my pages are children, based in an editable region
in a cell of a table in my template page, am I safe to apply this
'Body' style to the whole cell at template level?
I will then overwrite individual bits of the pages with other
styles e.g 'Headline'.
OR, do I need to apply the CSS styles only to which text it
will apply to for each individual page? I.e. will I run into
trouble if I apply a CSS style to all text and then overwrite
certain parts?
Any advice most appreciated!In your template you could apply a style in the non-editable
region. This style will apply to all content within that container.
Say, you specify color:#333 and font-weight:bold
In a specific webpage, in the editable region you could apply
a different style to all or some content say color:#FFF . This
would over rule the color:#333 but the font-weight:bold would stay
unless you specifically define this property as something else.
Incase you're still not sure, backup your work, experiment
with one set and if things get out of control, you still have the
backup copy. -
What's the fastest way to mock up text backgrounds in Photoshop?
Example text with text background layer , often seen on sites.
This is really tricky to mock up in Photoshop. I usually have to create shape layers which is easy enough, but you constantly have to edit them, as you play around with changed in line-height, letter-spacing, font-size, and font-family.For web sites, I rarely use fixed images for backgrounds. There's so much you can do with CSS and background-colors, gradients, opacity, borders, shadows, etc... that images are almost un-necessary
http://www.colorzilla.com/gradient-editor/
http://border-radius.com/
Nancy O.
Maybe you are looking for
-
I'm on a testing site on my MAC OS 10, but new to Firefox (5.01). I need to disable my pop-up blockers for a specific site. How can I do this? Thanks
-
A certain real estate web site loads, but not the photos. IE does it OK.
www.domain.com.au is a real estate sales page. Most of the site loads but not the photos, just a word 'House' in its place. I tried same site on IE and it all loaded correctly.
-
Select Statement (pl/sql) in ADF
Hi, I am new in ADF. Please give any idea or sample code about how to write Select Statement in ADF and how can i catch value. Thanks
-
Re: SAP Tutor output file not saved after recording
Hi, we are having the following issue when trying to create SAP Tutor files. The Application which should be recorded with the SAP Tutor is running and selected in the running applications window. During the recording session a sim file is created, b
-
Poor Performance of Blackberry 9860-Torch Model RDP71UW
This is to inform you regarding my sincere concern over the blackberry product. I had bought a new blackberry torch 9860 11 months back and since then am facing problems because of the poor performance of the handset. During this period I have taken