Jump to content
php.lv forumi

CSS


martinsdudeks

Recommended Posts

sveiki mani nomac viena problema esmu uzkodejis lapu

 

index.php lapa

 

bet taagad stradaju pie portfolio lapas,bet tur sakas viena nepatikama problema,portfolio lapa atrodas jauna mape portfolio lapas links

 

bet portfolio lapa nenem preti galveno /root/ stylesheetu,varbut kads var palidzet?

 

 

sis css ir portfolio lapai!

 

<!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>gitamedne.lv // portfolio</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script src="js/mootools.js" type="text/javascript"></script>
<script src="js/mediaboxAdv-1.3.4b.js" type="text/javascript"></script>

</head>

Link to comment
Share on other sites

ja sis css fails ir prieks lightbox efekta , /portfolio/css/portfolio.css

un tiesi tapat ari /js attiecigais fails,

 

bet to css failu pasai lapas uzbuvei kas atrodas galvenaja roota nespej nemt preti!

 

cik saprotu tad tu man iesaki visus css/style.css un css/portfolio.css ielikt galvenaja roota ? :)

Link to comment
Share on other sites

Nu es parasti izmantoju base tagu, norādu general root, tālāk jau viss notiek kā ./css/main.css ./js/header.js, bet nu kā jau tev teica, problēma tev ir iekš linkiem.

 

Vai nu ja tev vajag ātri izlīdzēties un negribi domāt dari šādi:

 

 

<link rel="stylesheet" type="text/css" href="http://tavalapa.lv/css/main.css" />

 

Respektīvi, liec iekšā uzreiz visu adresi.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...