Hot answers tagged

3 votes
Accepted

CSS Having No Affect in PSET7

shift-reload or ctrl-F5 will clear the browser's cache and (should) reload your css file.
DinoCoderSaurus's user avatar
2 votes
Accepted

Why "rowspan" is not working in my code

You have more <tr> than </tr>, and the rowspan elements probably should be in the first row. Maybe you can try something like {% for stock in symbol %} <tr> <td>{{...
Blauelf's user avatar
  • 20.9k
2 votes
Accepted

How To Make A Google "I'm Feeling Lucky" Button For CS50 Project 0

To make an I'm feeling lucky button, use this code <input value="I'm Feeling Lucky" aria-label="I'm Feeling Lucky" id="lucky" name="btnI" type="submit&...
Ysoni18's user avatar
  • 47
1 vote

Header links won't align to the right (P2)

I'm not familiar with align-items (and, like a lot of CSS, it makes my head itch). And the Examples on the MDN doc page don't show any difference among 'center', 'right' and 'left'. I do know that ...
DinoCoderSaurus's user avatar
1 vote
Accepted

CS50 Final Project / Personalized HTML path

The path should be: @app.route("/entry/<title>", methods=["GET"]) @login_required def entry(title): return render_template("entry.html", title=title) This will ...
Vsjain's user avatar
  • 1,006
1 vote

Why my css file is not being implemented in my html file?

<link rel="spreadsheet" href="style.css"> The rel should be "stylesheet" not "spreadsheet"
curiouskiwi's user avatar
  • 18.6k
1 vote
Accepted

pset8 postal code not greying out like the staff's

You can enclose your postal_code with <span></span> tags and either alter the style inline with the style attribute or give that <span> element an id or class and customize this id/...
Yuri Laguardia's user avatar
1 vote
Accepted

Relative linking

@CliffB nailed it in the comments. If your css directory is located in the parent directory of my-page, the correct way to use a relative path would be to prepend ../ before your path. This could be ...
hotwebmatter's user avatar
  • 3,050
1 vote
Accepted

Webdesign (final project question)

Uh here is my problem. I had main_display.php in my public folder, which I was messing around with. But I also had a main_display.php in my template folder, which i never changed and that was what was ...
Fijj01's user avatar
  • 11
1 vote

Webdesign (final project question)

I fought with a similar pathing problem and it turned out that $_SERVER['DOCUMENT_ROOT'] was the cause. It is set in the apache configuration which might not be totally clear from the php doc. '...
DinoCoderSaurus's user avatar
1 vote

pset8 : index.html does not find files in public/css , /js ... etc

Nevermind, it was the a very stupid mistake. I wasn't using the correct address, instead of using this path http://pset8/, I was using this one file:///home/jharvard/vhosts/pset8/public/index.html.
Santiago Gonzalez Erazo's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible