Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CSS

Featured Replies

I'm having some problems applying CSS to my website.

 

 

 

 

 

 

 
















djp :: main page



















...

 

 

 

 

 

 

 

This is what I've got so far (as far as importing .css files is concerned). It worked the first time, but adding in changes and re-uploading my .css file doesn't seem to be working. Does it usually take a while for changes to take effect?

summerpngwy6.jpg

I've never used @import. Always used:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Either way it shouldn't take any amount of time to update after you've saved/uploaded the changes. Tried a hard F5 refresh to force a reload? :?

  • Author
I've never used @import. Always used:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Either way it shouldn't take any amount of time to update after you've saved/uploaded the changes. Tried a hard F5 refresh to force a reload? :?

 

 

 

 

 

 

 

I had that code originally. The @import was just my last attempt, and as it worked I left it.

summerpngwy6.jpg

Try adding the css below the command.

 

 

 

 

 

 

 

The

command is really useless, I'd recommend not using it.

 

 

 

If you still have problems, then show us the actual css coding so we can see if anything is wrong there.

Protect the Light...

Try adding the css below the command.

 

 

 

 

 

 

 

The

command is really useless, I'd recommend not using it.

 

 

 

If you still have problems, then show us the actual css coding so we can see if anything is wrong there.

:uhh:

 

 

 

 

 

 

 

 

 

 

 

Post the CSS; because if you change that and suddenly the style doesn't work, you've got a problem in your CSS and it isn't going to render past the error (in most cases) or sometimes not at all; depends on browser and version.

Isnt @import an IE only thing?

 

 

 

 

 

 

 

As Rick said, post the CSS.

612d9da508.png

Mercifull.png

Mercifull <3 Suzi

"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12

I think it is - can't think straight atm since I'm still laughing inside at the " command is reall useless" :rofl:

Laughing at that statement eh?

 

 

 

 

 

 

 

The head command is mainly used for search engines to gather information about the page, things inside the head command are loaded first. And the head command can cause errors sometimes (certain parts of the page won't load, or only what is inside the head command will), not having the head command will never cause errors that can only be fixed by adding it. Thus it's just about useless.

 

 

 

 

 

 

 

Basically, head commands are used when you want to add META tags to let your site get more traffic from searches, or if you want certain data to load before everything else. That is about it.

Protect the Light...

  • Author

Okay I changed the .css import back to

 

 

 

 

 

 

 

 

 

 

And my .css is as follows;

 

 

 

 

 

 

 

body {



 font-family: "Times New Roman", Times, serif;



}







h1 {



font-size: 13pt;



text-align: center;



}







h2 {



font-size: 10pt;



text-align: center;



}







h5 {



font-size: 9pt;



text-align: left;



}







a:link {



text-decoration: none;



color: sienna;



margin-left: 1px;



}







a:visited {



text-decoration: none;



color: sienna;



}







a:active {



text-decoration: none;



}







ul {



text-align: left;



}







li {



text-align: left;



}

 

 

 

 

 

 

 

It all seems to be working except for the li/ul now. The alignment is centered.

summerpngwy6.jpg

Everything in the CSS looks good as far as I can tell. I'm no help the ul/li tags since I've never used them for anything beyond learning what they did. :?

 

 

 

 

 

 

 

------------------------

 

 

 

 

 

 

 

Basically, head commands are used when you want to add META tags to let your site get more traffic from searches, or if you want certain data to load before everything else. That is about it.

 

 

 

Which are things just about every serious website on the planet wants done. Calling it useless then telling us exactly what every website worth it's content constantly uses it for kinda voids your argument.

maybe you could post the website so we can know what you mean and you could try

 

 

 

margin:auto;

 

 

 

 

 

 

 

or the margin left/right crap if dont want the short hand proporties

  • Author

They're left centred now :? This is ridiculous, I guess it just takes my webserver a few minutes to make changes to styles.

summerpngwy6.jpg

I think you need to refresh your css as when you just refresh your webpage it eats a css cookie :lol: .

  • Author
I think you need to refresh your css as when you just refresh your webpage it eats a css cookie :lol: .

 

 

 

 

 

 

 

Okay, if this is a joke, then everyone make fun, I'm new at this :P. There isn't a way to refresh your .css other than re-uploading it, is there?

summerpngwy6.jpg

Well i dont really like using tip.it as aim :lol: but you should not upload it untill you are done(inless you use something like freewebs) If you are not using a editor then just open the .html document up with a browser. If you are using freewebs then just go to your css page then click refresh. If you dont like using dreamweaver or frontpage then i suggest you get notepad++ it supports about every language you can think of and you dont get pissed off with the sloppy code that those other programs leave behind. Anyway you really need to post your webpage or just post your html and css (i know you already have posted your css) and give a bit of information so people that are experts at css/html can help you. As the css does not seem to have any errors under my eye, just logical stuff. Always validate your css before posting btw. click here

 

 

 

 

 

 

 

keep in mind text-align is for text and div's are to get your pos of elements right

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.