Changing text box backgrounds... (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


CasinoCat -> Changing text box backgrounds... (7/16/2002 20:52:11)

Greetings everyone, I am new here and this is my first post! I just started using frontpage last week, man it' s easy. Anyway, I' m trying to change the background color in a text box to something other than white. Is this possible?

Thanks!
J




bobby -> RE: Changing text box backgrounds... (7/16/2002 23:58:52)

I' ve seen it done with CSS and JavaScript... I don' t remember for sure, but I think theres some info about it HERE




swoosh -> RE: Changing text box backgrounds... (7/17/2002 0:04:57)

Welcome to the Forums J,

FrontPage' s way of doing this is to go into properties of the text box, then choose " style" in the lower left of the dialog box. From there you can click on " format" in the lower left. Then choose what attribute of the box you want to change.




Charles W Davis -> RE: Changing text box backgrounds... (7/17/2002 9:34:16)

Jason,

FP2K' s Format drop down list that Swoosh mentioned includes:

  • Font...
  • Paragraph...
  • Border...
  • Numbering...
  • Positioning...

Choose Border, and then click on the shading tab. The color that you choose does' t appear until you save and preview in the browser.




Gil -> RE: Changing text box backgrounds... (7/17/2002 9:41:28)

Assuming by text box you mean a table cell? Try <td STYLE=" background-color: #ffffff" >text</td>




Charles W Davis -> RE: Changing text box backgrounds... (7/17/2002 9:56:57)

Gil,

I completely mis-read Jason' s question.

Jason,

Another way to do as Gil suggested is to right click on the cell, and choose cell properties from the menu, and in the dialog box that opens choose Background color.




CasinoCat -> RE: Changing text box backgrounds... (7/17/2002 22:40:24)

Thanks everyone, man you guys are quick. Only thing is I don' t know if I made my question clear enough. I tried the cell properties tab, but it wasn' t relative to the text box itself, just the cell that it' s in is changing. I looked in the html view to see if I could just do it manually but it doesn' t even show an option for bgcolor= or anything like that, just text color, and border color. Also I dont suppose anyone knows how to use a text field style box with images in it, that would be awesome!

Thanks again for the help, and btw I use flash mostly so if anyone needs any help or advice with that I' m more than happy to help. Right now I' ve just got one sight up at www.TheCasinoCatalog.com check it out!

Peace
J




Gil -> RE: Changing text box backgrounds... (7/17/2002 23:17:34)

I am not sure what you mean by " text box" ? I attempted to view the site, but all I got was a page with a place holder for a graphic and a enter link - I clicked the enter link (twice) and nothing happened? I think the background of a " text box" is not the biggest problem you have [:@]




moski -> RE: Changing text box backgrounds... (7/17/2002 23:26:18)

I don' t know what is a " text box" , especially one with an image in it. Please clarify.




daveh42 -> RE: Changing text box backgrounds... (7/18/2002 10:51:07)

Assuming that you are referring to an input text box, the style Gil mentioned earlier should be added to the <input> tag like this:

<input type=" text"  style=" background-color: #DDDDDD" >


Replace the #DDDDDD with the color code of your choice.





Gil -> RE: Changing text box backgrounds... (7/18/2002 12:50:32)

CasinoCat,

Trying to access your site - I get a screen with a image/flash placeholder a " Flash" button and a " Enter" button - clicking the Enter button causes a page? to start loading and just continues to load forever! Might want to take a look at it.




piquet -> RE: Changing text box backgrounds... (7/18/2002 14:25:12)

Same result for me too!




CasinoCat -> RE: Changing text box backgrounds... (7/18/2002 16:50:10)

Doh!

Alright well, Now I' m trying to make my index page with Frontpage because now it' s up as a Dreamweaver file which I' m no pro at. But I can' t seem to import Flash in an effective manner.

But my site isn' t actually the site I need a text box for, when I say text box I mean insert/form/scrolling text box. Although I did mention I' d like to have images in it so maybe I' m just using the wrong component in general. Probably... Doh!

Jason




CasinoCat -> RE: Changing text box backgrounds... (7/18/2002 16:53:44)

The reason you guys can' t see the main page is probably because you don' t have the Flash 6 player which you can get here

http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash

then you should be able to go to the main site at

http://www.TheCasinoCatalog.com/main.swf

cheeeeeeeers!
let me know if that helps :)




Gil -> RE: Changing text box backgrounds... (7/18/2002 17:43:00)

Sorry, I don' t load any flash applications.




bobby -> RE: Changing text box backgrounds... (7/18/2002 18:00:42)

ROFLMAO!

I was waiting for that, Gil...

[:D]




abbeyvet -> RE: Changing text box backgrounds... (7/18/2002 19:28:07)

I am blessed with excellent sight. I can read newspapers easily at a few feet, or up close. I mention this because not without giving myself the most severe eyestrain could I read a thing on your pages. It' s not just small, its TINY!!

There are some lines, eg on the about page, that I can barely discern are text - something in very pale brown beneath the green writing on the left. There is a set of links on the links page that are not only small but diagonal and I cannot read them either, at least not without great difficulty.

It' s a great concept and has a nice look, but if you expect anyone to actually use ot you will have to do something about the text size.

BTW, if it is the background of a form text box or input box you are talking about you can put an image there using CSS. The line in your css, to put it in both, would look like this:

input, textarea {background-image:url(' http://www.thesite.com/images/image.jpg' ) }

You need to change the url to the image obviously.




Charles W Davis -> RE: Changing text box backgrounds... (7/19/2002 15:10:36)

Jason,

In one of your posts:
quote:

...when I say text box I mean insert/form/scrolling text box...


Swoosh:
quote:

FrontPage' s way of doing this is to go into properties of the text box, then choose " style" in the lower left of the dialog box. From there you can click on " format" in the lower left. Then choose what attribute of the box you want to change.


My previous post answered this:
quote:

FP2K' s Format drop down list that Swoosh mentioned includes:


  • Font...
  • Paragraph...
  • Border...
  • Numbering...
  • Positioning...


Choose Border, and then click on the shading tab. The color that you choose does' t appear until you save and preview in the browser.








CasinoCat -> RE: Changing text box backgrounds... (7/19/2002 18:48:19)

Thanks a lot Katherine,
Your absolutely right, for some people my main page as big, and some it' s small. The reason being right now I have it as a movie that expands to the size you have your browser set at. Also your resolution comes into play too. I have my computer set at 1280*1024 with a 18" moniter! So on my screen it is nice and big. But I' m coming to realize that the vast majority of web surfers have an 800*600 resolution on a 15" monitor, so I really need to focus on that viewing. I' m working on inputing a java script for a " full screen" view (it takes away the address bar and browser buttons but leaves the very top title bar) as well as publishing the movie in a set dimension. So hopefuly this will help. Btw, your sight is extrememly clean and efficient, congrats!

Thanks again
Jason




abbeyvet -> RE: Changing text box backgrounds... (7/19/2002 19:16:10)

In case it is of any value to you I am at 1024x768 on a 17" monitor.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125