|
| |
|
|
x_789
Posts: 29 Joined: 7/31/2002 Status: offline
|
Lock Text Size in a Cell? - 7/7/2004 10:09:37
I don't think its possible but I figured I would ask. I want to use one background image that is 20 pixles high. Is there a way I can use just the one image and lock the font in that cell so that no matter what the users browser text size is it will never increase the size of that cell so that it caueses the image to grow and start showing the image multiple times. I want to do this so as to keep my page load times faster bye sending one background image for navigation cells instead of having 10 navigation buttons all with the navigation text imposed on each button instead of just putting diffrent text in each cell? Thanks.. X
|
|
|
|
Reflect
Posts: 4769 From: USA Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 10:18:53
Sure can...with CSS. Here is one example with tutorial... http://www.projectseven.com/tutorials/css/uberlinks/ Also I am going to move this to the CSS forum as I am sure there are other ways via CSS. Take care, Brian
_____________________________
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 11:55:18
Hi x_789, The link that Brian has refered you to is an excellent one. If you follow the tutorial that is on here it should help you. If you have any questions please don't hesitate to come back with them.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
x_789
Posts: 29 Joined: 7/31/2002 Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 15:13:06
Ok folks well I went and read that link and I honestly don't get it. I don't know jack about style sheets. I figured out a way to make buttons that are hover buttons. I think they are make the page slow here is a link www.christishope.com/stcc if you notice the buttons on the left I just made hover buttons with FP and used my image and tweaked them abit. My question is if I am able to figure out this css stuff will it make my pages load quicker? If not I don't really see a need. If it will then can you please point me to a tutorial that tells me how to make a css with FP because the link provided is taking about Dreamweaver and I have no access to that. Thanks.. X
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 17:57:59
quote:
My question is if I am able to figure out this css stuff will it make my pages load quicker Totally yes. It also saves on bandwidth. I just posted about a book that I am reading for beginners. I highly suggest this book, along with the tutorials that are mentiond in this section as well. Feel free to post questions. There are several online tutorials that are free and some that are relatively inexpensive to take. Also go through here and read posts in this forum, I'm sure that you will find a good bit of information. Please, post your questions, we are here to help you learn. btw, do you do html coding as well? The reason I ask this is because if we know where you are with coding it helps to know where to direct you with a css tutorial. Also, you can do your css files in notepad etc.. then put them in front page.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
x_789
Posts: 29 Joined: 7/31/2002 Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 18:46:01
I know nothinig about coding I just use FP and if I need to figure something out that FP dosen't do then I search the net for it. So if I follow that tutorial. I am not clear are all the steps listed supposed to go in this css file? If so how do I tie the css file to my page. ? I need to be able to use those buttons in an includes page since its my nav buttons.. Thanks.. X
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 19:02:14
quote:
ORIGINAL: x_789 I know nothinig about coding I just use FP and if I need to figure something out that FP dosen't do then I search the net for it. So if I follow that tutorial. I am not clear are all the steps listed supposed to go in this css file? If so how do I tie the css file to my page. ? I need to be able to use those buttons in an includes page since its my nav buttons.. Thanks.. X Ok, now that I know where you are, you need to start in the begining with css. Also, you sort of do need to know html along with this. To get this into your page, you would do a link at the top of the page in the header section. Here is a link http://www.frontpagewebmaster.com/m-173804/tm.htm that will take you to lots of css links, I think that the one for outfronts css tutorial is also in there as well. Go through them all and see what you find that will suit what you know. And don't hesitate to come back here for help. We are all here to help you out.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
x_789
Posts: 29 Joined: 7/31/2002 Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 19:46:16
Ok well we have some progress.. I have stumbled through enough to get a working css button page. link http://www.christishope.com/stcc/includes/test.html Problem is when I add it to a page as an include it looses all its css stuff. The files are all in the same dir. here is broken page.. one in a table which is what I want and the other is not ina table... Broke link http://www.christishope.com/stcc/includes/test-in.html So give me some ideas on how to get this to work as an includes page please.. Thanks .. X EDIT ... Woo woo I figured it out.. I needed my style sheet in the same dir as my file I was imbeding it or atleast point ot correct place and I needed the page that I imbeded it on to have the css line in the head also of that page.. please add if I am doing it the hard way.. X
< Message edited by x_789 -- 7/7/2004 19:54:48 >
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 20:04:53
Hmm, maybe the inludes part you can post in the frontpage threads. I dont use frontpage for my css, I handcode mine. And I have not worked with server side includes as of yet. I'm not sure how you would work the css with includes. I know others have asked about it. Do this, try a search on css fp includes here on outfront and see what you come up with, and then post it in the front page section to see if someone in there could guide you with this. You could also link to this thread so that everyone can see what it is that you are doing. btw, good job on the links! They look good. Also, when linking to your css in head of your documnet, you link like this <link rel="stylesheet" type="text/css" href="style3.css"> where it says href="style3.css" you would place here the name of your style sheet. Don't forget to name your style sheet with the css extension, and when you save it make sure it saves as a css file. HERE is a good site for you to check out how to do external, embeded and inline styles.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
x_789
Posts: 29 Joined: 7/31/2002 Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 20:54:23
Ok well its seems I have a bit of a problem.. I finally played wiht the size enough to get my buttons where I want them and correct size.. Problem now is everytime I click a link it opens in a new window. I figure this is a simple fix but I am not finding it.. Here is what I hvae in my html for the list.. <div id="navigation">
<ul>
<li><a href="../index.html">Home</a></li>
<li><a href="../contact/location.html">Location</a></li>
<li><a href="#">Services</a></li>
<li><a href="../staff/staff.html">Ministry Staff</a></li>
<li><a href="#">What we believe</a></li>
<li><a href="#">Children</a></li>
<li><a href="#">Youth</a></li>
<li><a href="#">Online Sermons</a></li>
<li><a href="#">Online Bible Resources</a></li>
</ul>
<div></td> Thanks in adv.. X here is main page incase you want to have a look http://www.christishope.com/stcc/index.html .. Well after posting I had another Idea I set the page that my links are on for the defualt of the page to open in same window via FP.. Not sure if this was the best way to fix but it works for now. I would still appriaciate any pointers on why this happened.. X
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Lock Text Size in a Cell? - 7/7/2004 22:44:56
Can you post your css code? I'm going off line now, I'll check in tomorrow sometime, unless someone else gets to you before hand. It appears, lol, through tired eyes, that all is ok with your div. Seeing how you have your css would be good. It helps to post the css so that everyone can take a look at it, along with the html that goes along with it.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
x_789
Posts: 29 Joined: 7/31/2002 Status: offline
|
RE: Lock Text Size in a Cell? - 7/8/2004 14:03:56
Ok well I was atempting to get the uberlink to work from the link you provided. http://www.projectseven.com/tutorials/css/uberlinks/ is this possible since I am using an includes page? The reason is the links page never changes its just added to everypage so I don't know how I could get the links to distiguish which page they are on? here is my CSS for the previous question about the width and stuff.. Thanks X li {
list-style-type: none;
height: 20px;
}
#navigation {
width: 205px;
text-align: center;
margin-left: -40px;
}
#navigation a {
display: block;
background-image: url('includes/squaregoldbar.jpg');
background-repeat: no-repeat;
background-position: 0% 50%;
color: black
}
#navigation a:hover, #navigation a:active {
display: block;
background-image: url('includes/squaregoldbarhover.jpg');
background-repeat: no-repeat;
background-position: 0% 50%;
color: black
}
#navigation a:link, #navigation a:visited {
color: black;
text-decoration: none;
}
a {
text-decoration: none;
}
#uberlink a:link, #uberlink a:visited,
#uberlink a:hover, #uberlink a:active {
background-image: url('includes/squaregoldbarhover.jpg');
background-repeat: no-repeat;
background-position: 0% 50%
}
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: Lock Text Size in a Cell? - 7/9/2004 4:41:14
Not sure if I am understanding you correctly, Your question is still about the includes page? If so, try posting a question in the beginners or advanced web programing about includes and css. I, as previously stated, am not familar with includes and css. Also, you can post a link to this discussion along with your question.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
Reflect
Posts: 4769 From: USA Status: offline
|
RE: Lock Text Size in a Cell? - 7/9/2004 7:14:34
x_789 would you like me to move this back to the beginers or intermediate forums for the include question? I know CSS (external) will work via include pages, my last site used this means for all navigation. You must put the call to your external css file in the <head> portion of the page that holds the include, not the include page. Could you post the include page code so I can take a peak or give a URL to it. I went to the last link you provided but it gives me a 404 error. Also on your navigation code snippet I see one major thing. You are using relative paths VS. absolute paths. Example... You have: <ul> <li><a href="../index.html">Home</a></li> It should be: <ul> <li><a href="http://www.christishope.com/index.html">Home</a></li> What happens is if you go over a layer deep in directory structure it will not find the page as the path would be invalid. Take care, Brian
_____________________________
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|