![]() |
I have a site that doesn't use css. How can I make it use css?
It's not a big site. Less than 10 pages I guess.
I want to add a css to it so I can easily change stuff. How would I do that? |
Realistically you'd have to remake it from scratch for it to be done properly and effectively.
|
change from html to php and css is the main page that holds all the back end information...
so you would have fonts, colours, pages, links, all on .css and then for example, tour1.php would be linked to your .css and as said above, create from the start or youīll be confusing yourself changing scripts and pages... |
Quote:
Sorry if this is a dumb question. |
|
Quote:
|
I wrote CSS
|
Quote:
|
Quote:
|
Quote:
wondering, why donīt you go html5? my last sites were designed with Bootstrap 5 yr ago, now iīm with MC... why not get hold of a tech guy and ask him if he can do some day work for you? |
Quote:
|
CSS is the styling, doesn't matter if PHP is used or not.
If it's an old site that doesn't use CSS, you'll have to change the old styling to CSS manually. Then more involved if you want to do things like make it responsive, etc. |
Quote:
Stick to ruining the boob thread with your leathery milk sacks. |
Quote:
Quote:
. |
Quote:
thereīs about 4 or 5 css pages... maybe he was an idiot, we got rid of him and went with ModelCentro about 2 years later :1orglaugh |
Quote:
|
Quote:
|
Quote:
and fuck you with you nasty comments, considering my tits are better than the fake shit you have on your sites :321GFY :1orglaugh |
Quote:
no, my sites, we had 7 sites that he had designed... you must be looking at my blog, thatīīs the only wp site we have. |
Quote:
it would all need rewriting, and apologies for the mistake with the php needing changing pink24. wasnīt lying obviously, just saying what iīd been told for my previous sites :thumbsup |
Quote:
|
Quote:
A css file merely holds the styling elements that you want to use on the pages. For example. Say you want your H1 tags to be double the size of your normal font, bolded and underlined. In your style sheet (css file) you would put something like: H1 { font-size:2em; font-weight:bold; text-decoration:underline; } Then whenever you use an H1 in the page it would appear as 2 times the size of the currrnt font (2em). Bolded (font-weight:bold) and underlined (text-decoration:underline) You could accomplish this using html by coding your H1 as: <h1><font-size="2em"><b><u>Text goes Here</u></b></font-size></h1> You could also use inline styling: <h1 style="font-size:2em;font-weight:bold;text-decoration:underline;">Text Goes Here</h1> Or using the style sheet, reference the style sheet in the head section: <head> <base href="https://gfy.com/" /><!--[if IE]></base><![endif]--> <base href="https://gfy.com/" /><!--[if IE]></base><![endif]--> <link rel="stylesheet" href="style.css"> </head> or referencing the style elements themselves in the head section: <head> <style> H1 { font-size:2em; font-weight:bold; text-decoration:underline; } </style> </head> And then in your page using the h1 tag: <h1>Text Goes Here</h1> Obviously, the third method is the most efficient. . |
Quote:
. |
Quote:
|
Quote:
although, theyīre old sites now, pleasure to be with Modelcentro for both our sites presently. Thank you for the info anyway :thumbsup |
Quote:
|
Many thanks to everyone that took part in todays CSS discussion. Your participation in this thread has been much appreciated.
Join us next time when we will be discussing div aligns. |
Quote:
div aligns, the great thing with them, you can have as many in each area as you want, just breaking the page up, maybe the image, giving faster page load :thumbsup |
<style>
.pussy { float: left; padding: 10px; width: 300px; background: black; } .clear { clear: both; } </style> <div class="pussy"> <div class="pussy"> <div class="pussy"> <div class="clear"> |
Quote:
</h2> </div> <div class="row"> <h2>and add this in next to it... :thumbsup </h2> </div> </div> </div class="clear"> </body> |
Oh sorry, forget to close div
<div class="pussy"></div> <div class="pussy"></div> <div class="pussy"></div> <div class="clear"></div> |
Quote:
|
Has anyone heard of the Dunning Kruger effect? It's fascinating. The theory was devised around a guy who robbed banks with lemon juice on his face because he thought it would make him invisible (true story).
|
Quote:
second, no one was bumping this thread until I posted, or it was only after I bumped it with some kind of advice, not incorrect, but slightly off point, however, only then did people join in to help Pink... and finally, iīm enjoying to participate on a forum, with advice thatīs still useful and NOT a load of negative garbage :thumbsup if paranoia, well isnīt that interesting to read and I feel sorry for those less privileged :upsidedow |
i just like poo...
|
Quote:
Pink never needed help imho. He was doing a troll as usual. I posted to attempt to correct mis-information being posted. . |
Quote:
I was merely pointing out the haters. Thereīs no need for those to post when they put no interest or help to GFY :thumbsup |
Quote:
Oh, and Sara! |
Quote:
I have no idea where the base href code in there came from. It was not in what I put in there. I don't think it was there when I posted. So, either the board is adding code or a mod edited my post. Not sure which. The only thing I had in there was the link to the style sheet. Filed under things that make you go WTF? . |
Quote:
|
Quote:
Thanks. |
All times are GMT -7. The time now is 03:22 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123